[Issue 16011] [REG2.068] recursive RefCounted used to work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 17 10:25:54 UTC 2019


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

--- Comment #7 from Walter Bright <bugzilla at digitalmars.com> ---
With master, this now produces:

std/traits.d(2713): Error: unable to determine fields of S because of forward
references
std/traits.d(3353): Error: template instance std.traits.FieldTypeTuple!(S)
error instantiating
std/typecons.d(6243):        instantiated from here: hasIndirections!(S)
test.d(6):        instantiated from here: RefCounted!(S,
cast(RefCountedAutoInitialize)1)

--


More information about the Digitalmars-d-bugs mailing list