Bug 11518 – DMD segfault on multiple template match

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-11-14T18:55:00Z
Last change time
2013-11-21T18:32:46Z
Keywords
ice, pull
Assigned to
nobody
Creator
luis

Comments

Comment #0 by luis — 2013-11-14T18:55:27Z
class A(T) {} class B(T : A!T) {} class B(T : A!T) {} void main() { new B!(A!void); }
Comment #1 by k.hara.pg — 2013-11-14T20:22:38Z
Comment #2 by github-bugzilla — 2013-11-17T15:50:29Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/1261764636dfee27d927a7774a47399cca150d80 fix Issue 11518 - DMD segfault on multiple template match Incomplete `specType`, like as (T : A!T), should not be used during determination of template partial specialization order. https://github.com/D-Programming-Language/dmd/commit/f6088fc9eb7eccea51337a20925b8eefeba60096 Merge pull request #2769 from 9rnsr/fix11518 Issue 11518 - DMD segfault on multiple template match
Comment #3 by k.hara.pg — 2013-11-21T18:32:46Z
*** Issue 11190 has been marked as a duplicate of this issue. ***