Thread overview
[Issue 12487] DMD correctly reports excessive CTFE recursion, but not template recursion
Jun 09, 2015
Kenji Hara
Jun 09, 2015
Kenji Hara
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=12487

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=12487

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

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

--- Comment #2 from Kenji Hara <k.hara.pg@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.

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=12487

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4731

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=12487

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/193ad12dde7b57b26efd5577a4a2b5562ba1ed3a
fix Issue 12487 - DMD correctly reports excessive CTFE recursion, but not
template recursion

https://github.com/D-Programming-Language/dmd/commit/d072c72581b22be0e04161d46b227807d975e17c Merge pull request #4731 from 9rnsr/fix12487

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

--
October 04, 2015
https://issues.dlang.org/show_bug.cgi?id=12487

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--