[Issue 18833] [REG 2.073] DMD in some cases forgets to generate wrapping TypeInfo for modifiers on classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 25 04:03:43 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18833

Mike Franklin <slavo5150 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slavo5150 at yahoo.com

--- Comment #3 from Mike Franklin <slavo5150 at yahoo.com> ---
I'm still trying to grok this, but from what I gather it sounds like
`genTypeInfo`
(https://github.com/dlang/dmd/blob/aa8fc584b92e736290f359596ec9e0aae857ae2c/src/dmd/typinf.d#L35)
is not being run for one of the types (the template instantiation in the
imported module?).

To fix, you may just need to enable logging in the compiler and find the
appropriate place to call `genTypeInfo`.  grep for `genTypeInfo` to find usage
examples in the source code.  There are quite a few.

--


More information about the Digitalmars-d-bugs mailing list