← Back to index
|
Original Bugzilla link
Bug 23115 – [REG 2.100] AssertError@src/dmd/dtemplate.d(7397): can only re-append from non-root to root module
Status
NEW
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-05-16T15:07:21Z
Last change time
2024-12-13T19:22:48Z
Keywords
ice-on-valid-code, industry
Assigned to
No Owner
Creator
Iain Buclaw
Moved to GitHub: dmd#18105 →
Comments
Comment #0
by ibuclaw — 2022-05-16T15:07:21Z
Triggers when using a debug build of the compiler: --- /// imports/icecommon.d module imports.icecommon struct Single(T) { } struct Pair(L, R) { static if (is(R : Single!T, T)) bool opEquals(L, R)(Pair!(L, R)) const; } static assert(is( Pair!(Single!int, Single!double) )); --- /// imports/iceimport.d module imports.iceimport; import imports.icecommon; struct Import { Pair!(Single!int, Single!double) V; } struct Unused { Pair!(int, Single!(Pair!(Single!int, Single!double))) X; } --- /// ice.d module ice; import imports.icecommon; alias AliasSeq(T) = T; struct Struct(T) { AliasSeq!(T) field; } void fun() { import imports.iceimport; Struct!Import var; }
Comment #1
by robert.schadek — 2024-12-13T19:22:48Z
THIS ISSUE HAS BEEN MOVED TO GITHUB
https://github.com/dlang/dmd/issues/18105
DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB