[Issue 4079] [CTFE] Stack overflow from undetected circular reference
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 3 00:59:58 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4079
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Don <clugdbug at yahoo.com.au> 2012-04-03 01:00:32 PDT ---
Fixed a couple of releases ago. Now on both D1 and D2, it displays a message
like:
bug.d(42): Error: function bug.foo CTFE recursion limit exceeded
bug.d(43): called from here: foo()
bug.d(42): 1000 recursive calls to function foo
bug.d(45): called from here: foo()
and the first case doesn't have a repeated error message, it now displays:
bug.d(47): Error: cannot evaluate foo() at compile time. Circular reference?
bug.d(43): while evaluating r.init
bug.d(47): called from here: foo()
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list