[Issue 12487] DMD correctly reports excessive CTFE recursion, but not template recursion

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 9 09:14:52 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           Severity|normal                      |minor

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
In 2.067 and git-head, -version=RecTemplate compilation reports:

test.d(3): Error: circular initialization of recTemplate
test.d(11): Error: template instance test.recTemplate!int error instantiating

Therefore the segfault issue is already fixed. However I think the diagnostic
"circular initialization of recTemplate" is still unhelpful a little.

--


More information about the Digitalmars-d-bugs mailing list