← Back to index
|
Original Bugzilla link
Bug 7170 – [UFCS] array + specialized template member syntax causes ICE
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2011-12-27T01:31:00Z
Last change time
2011-12-30T21:30:23Z
Keywords
ice-on-valid-code, patch
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0
by k.hara.pg — 2011-12-27T01:31:13Z
Following code causes ICE. T to(T)(string x) { return 1; } void main() { // auto i = to!int("1"); // OK auto j = "1".to!int(); // NG, Internal error: e2ir.c 683 }
Comment #1
by k.hara.pg — 2011-12-27T01:59:21Z
https://github.com/D-Programming-Language/dmd/pull/585
Comment #2
by bugzilla — 2011-12-29T15:16:06Z
https://github.com/D-Programming-Language/dmd/commit/c268c4a2dc20aae024bce81555833b806a56f718
Comment #3
by k.hara.pg — 2011-12-30T21:30:23Z
*** Issue 7167 has been marked as a duplicate of this issue. ***