https://issues.dlang.org/show_bug.cgi?id=12984
Kenji Hara <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86_64 |All Summary|"Cannot interpret |[REG2.068a] ICE on forward |[template] at compile time" |reference of derived class |depending on order of |from other instantiated |declaration |class OS|Linux |All --- Comment #3 from Kenji Hara <[email protected]> --- (In reply to Nils from comment #2) > The test case fails again. Segfaults now. > > The test code can be reduced to this for the segfault: > --- > cat > test.d << code > class B {alias MyD = D!int;} > class C : B {} > class D(T) {alias MyE = E!float;} > class E(T) : D!int > { > void m() {new C;} > } > code > dmd -c -o- test.d > --- > Segmentation fault (core dumped) > --- > > (Re-)introduced by > https://github.com/D-Programming-Language/dmd/commit/ > a7bdba471111f09f7dba2fbbc6a3d91d8ba110e7 > https://github.com/D-Programming-Language/dmd/pull/4457 https://github.com/D-Programming-Language/dmd/pull/4537 --
