Bug 14096 – ICE in toir.c: 187

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-02-01T00:12:00Z
Last change time
2017-07-19T17:38:42Z
Keywords
ice, pull
Assigned to
nobody
Creator
vlevenfeld

Comments

Comment #0 by vlevenfeld — 2015-02-01T00:12:25Z
with dmd git head: ----------M1.d--------------- struct Baz (alias f) { void g (){} } auto baz (alias f)(void[]) { return Baz!f(); } auto bar () { return [].baz!(i => i); } ----------M2.d--------------- import M1; import std.typecons; auto x (alias s)() { typeof(s) p; } auto foo (T)(T t) {x!t;} void main () { tuple(bar).foo; } ---------result--------------- Internal error: toir.c 187
Comment #1 by k.hara.pg — 2015-02-20T10:05:49Z
Comment #2 by github-bugzilla — 2015-02-21T04:44:27Z
Comment #3 by github-bugzilla — 2015-02-21T09:11:52Z
Comment #4 by github-bugzilla — 2015-06-17T21:00:59Z
Comment #5 by github-bugzilla — 2017-07-19T17:38:42Z