August 11, 2018 [Issue 19157] New: template instance `object.RTInfo!(Bar)` recursive expansion | ||||
---|---|---|---|---|
| ||||
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 -- |
Copyright © 1999-2021 by the D Language Foundation