Bug 16273 – [REG 2.072a] dmd segfault with inheritance, templates, override

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-07-12T22:30:25Z
Last change time
2017-10-09T19:40:05Z
Keywords
ice
Assigned to
No Owner
Creator
ag0aep6g

Comments

Comment #0 by ag0aep6g — 2016-07-12T22:30:25Z
Compiles up to 2.071. Git head dmd (24f0d1c) segfaults. ---- class A() { alias MyD = D!(); } class B { void f() {} alias MyA = A!(); } class C : B { override void f() {} } class D() : A!() { void g() { new C; } } ----
Comment #1 by ag0aep6g — 2016-07-14T21:16:59Z
Digger says this was introduced by https://github.com/dlang/dmd/pull/5695
Comment #2 by mk — 2017-03-29T02:10:03Z
Comment #3 by bugzilla — 2017-10-09T01:29:08Z
Comment #4 by bugzilla — 2017-10-09T01:29:46Z
Comment #5 by github-bugzilla — 2017-10-09T19:40:05Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3c865d5eedaff4debf7f99df19c38ccb996a017b fix Issue 16273 - [REG 2.072a] dmd segfault with inheritance, templates, override https://github.com/dlang/dmd/commit/2a8fdd858bb408da2785e8eb6c18b5e9f7423d28 Merge pull request #7198 from WalterBright/fix16273 fix Issue 16273 - [REG 2.072a] dmd segfault with inheritance, templat…