Bug 23258 – ICE on SumType of two arrays of classes

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-07-18T09:09:41Z
Last change time
2022-07-18T10:59:30Z
Keywords
pull
Assigned to
No Owner
Creator
Boris Carvajal

Comments

Comment #0 by boris2.9 — 2022-07-18T09:09:41Z
test: --- struct SumType(Types...) { this(Types[0]) { } this(Types[1]) { } } alias A2 = SumType!(C1[], C2[]); class C1 { } class C2 { } --- Patch ready.
Comment #1 by dlang-bot — 2022-07-18T09:17:40Z
@BorisCarvajal created dlang/dmd pull request #14314 "Fix Issue 23258 - ICE on SumType of two arrays of classes" fixing this issue: - Fix Issue 23258 - ICE on SumType of two arrays of classes https://github.com/dlang/dmd/pull/14314
Comment #2 by dlang-bot — 2022-07-18T10:59:30Z
dlang/dmd pull request #14314 "Fix Issue 23258 - ICE on SumType of two arrays of classes" was merged into stable: - bf8090597084ccac478ed404e2ae1355cd3d003f by Boris Carvajal: Fix Issue 23258 - ICE on SumType of two arrays of classes https://github.com/dlang/dmd/pull/14314