Bug 11086 – dmd segfault

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-09-21T10:18:00Z
Last change time
2013-09-22T02:36:03Z
Keywords
ice, pull
Assigned to
nobody
Creator
elvis.x.zhou

Comments

Comment #0 by elvis.x.zhou — 2013-09-21T10:18:10Z
//test.d struct A { foo!(A) l1,l2; } dmd -main test.d will segfault
Comment #1 by monarchdodra — 2013-09-21T10:34:27Z
This is a 2.061 => 2.062 regression: 2.061: //--- main.d(3): Error: template instance foo!(A) template 'foo' is not defined main.d(3): Error: foo!(A) is used as a type main.d(3): Error: foo!(A) is used as a type END //--- 2.062: //--- main.d(3): Error: template instance foo!(A) template 'foo' is not defined main.d(3): Error: foo!(A) is used as a type CRASH //---
Comment #2 by lt.infiltrator — 2013-09-21T16:11:31Z
This looks to be fixed in 2.063: //--- /d741/f473.d(2): Error: template instance foo!(A) template 'foo' is not defined END //---
Comment #3 by k.hara.pg — 2013-09-21T23:22:05Z
Comment #4 by github-bugzilla — 2013-09-22T02:35:39Z