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: [email protected]
          Reporter: [email protected]

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

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

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

--

Reply via email to