Bug 9095 – [ICE](statement.c line 5037) with throw in nonthrow function
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-11-29T05:11:00Z
Last change time
2013-01-12T22:49:33Z
Keywords
ice
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2012-11-29T05:11:12Z
void main() nothrow {
throw Exception();
}
DMD 2.061alpha:
test.d(2): Error: no property 'opCall' for type 'object.Exception'
Assertion failure: 'cd' on line 5037 in file 'statement.c'
Comment #1 by yebblies — 2013-01-12T22:49:33Z
There is no rejects-valid here.
*** This issue has been marked as a duplicate of issue 9291 ***