digitalmars.D.bugs - [Issue 19157] New: template instance `object.RTInfo!(Bar)` recursive
- d-bugmail puremagic.com (30/30) Aug 11 2018 https://issues.dlang.org/show_bug.cgi?id=19157
https://issues.dlang.org/show_bug.cgi?id=19157 Issue ID: 19157 Summary: template instance `object.RTInfo!(Bar)` recursive expansion Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: doob me.com Compiling the following code with DMD 2.081.1: struct Foo(T) { void foo() { struct Bar {} Foo!Bar a; } } Foo!int asd() { return Foo!int.init; } Results in the following error message: foo.d(5): Error: template instance `object.RTInfo!(Bar)` recursive expansion --
Aug 11 2018