Bug 8313 – stack overflow on recursive ifti evaluation
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-27T10:14:00Z
Last change time
2013-11-19T18:41:16Z
Keywords
ice
Assigned to
nobody
Creator
timon.gehr
Comments
Comment #0 by timon.gehr — 2012-06-27T10:14:07Z
DMD 2.059 crashes due to what appears to be a stack overflow when run on the following code:
auto bar()(int x){return x;}
auto bar()(int x = bar()){return x;}
static assert(bar(1));