Bug 22593 – ICE on overloaded constructors

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-12-13T13:50:20Z
Last change time
2021-12-14T22:58:13Z
Keywords
ice, pull
Assigned to
No Owner
Creator
anonymous4

Comments

Comment #0 by dfj1esp02 — 2021-12-13T13:50:20Z
--- struct Foo(T){ this(Rhs, this This)(scope Rhs rhs){ } this(ref scope typeof(this) rhs){ } } struct Bar{ Foo!int foo; } ---
Comment #1 by razvan.nitu1305 — 2021-12-14T10:45:45Z
This is actually a regression since 2.085.1: https://run.dlang.io/is/4HI5YP
Comment #2 by dlang-bot — 2021-12-14T14:38:00Z
@RazvanN7 created dlang/dmd pull request #13427 "Fix Issue 22593 - ICE on overloaded constructors" fixing this issue: - Fix Issue 22593 - ICE on overloaded constructors https://github.com/dlang/dmd/pull/13427
Comment #3 by dlang-bot — 2021-12-14T22:58:13Z
dlang/dmd pull request #13427 "Fix Issue 22593 - ICE on overloaded constructors" was merged into stable: - e6ead98bfb27044c41cf321dce412ade7dc824be by RazvanN7: Fix Issue 22593 - ICE on overloaded constructors https://github.com/dlang/dmd/pull/13427