← Back to index
|
Original Bugzilla link
Bug 10579 – regression 062=>063: Cannot interpret TypeInfo at compile time
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-07-08T19:42:00Z
Last change time
2013-09-23T00:41:27Z
Keywords
CTFE, ice, pull
Assigned to
nobody
Creator
thelastmammoth
Comments
Comment #0
by thelastmammoth — 2013-07-08T19:42:14Z
dmd main.d ---- main.d: void main(){ pragma(msg,typeid(int).toString); } ---- v2.063.2 Assertion failed: (thisval && thisval->op == TOKclassreference), function interpret, file interpret.c, line 4067. v2.062 Error: Cannot interpret & D10TypeInfo_i6__initZ at compile time & D10TypeInfo_i6__initZ.toString()
Comment #1
by clugdbug — 2013-07-09T00:45:14Z
https://github.com/D-Programming-Language/dmd/pull/2325
Comment #2
by github-bugzilla — 2013-07-09T01:10:06Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/7f50fb0014544d5174f767d5a57c78cd747bded9
Fix bug 10579 CTFE ICE with TypeInfo Applies to any attempt to call a virtual function on a static variable.
https://github.com/D-Programming-Language/dmd/commit/25db2c93a5fc94899cc9632e64aa3348f7ee2442
Bug 10579 CTFE ICE second case ICE when resolving a virtual function call in CTFE. Same ICE as bug 10579.
Comment #3
by clugdbug — 2013-09-23T00:41:27Z
*** Issue 10620 has been marked as a duplicate of this issue. ***