[Issue 22593] New: ICE on overloaded constructors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 13 13:50:20 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22593

          Issue ID: 22593
           Summary: ICE on overloaded constructors
           Product: D
           Version: D2
          Hardware: All
               URL: https://forum.dlang.org/post/mqjridvdqazdryclvqei@foru
                    m.dlang.org
                OS: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: dfj1esp02 at sneakemail.com

---
struct Foo(T){
    this(Rhs, this This)(scope Rhs rhs){
    }

    this(ref scope typeof(this) rhs){
    }
}

struct Bar{
    Foo!int foo;
}
---

--


More information about the Digitalmars-d-bugs mailing list