January 17, 2022
https://issues.dlang.org/show_bug.cgi?id=22684

          Issue ID: 22684
           Summary: Templated constructor doesn't have class qualifier
           Product: D
           Version: D2
          Hardware: All
               URL: https://forum.dlang.org/post/sjsbvtlsfamltgshlwav@foru
                    m.dlang.org
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: dfj1esp02@sneakemail.com

shared class A
{
    this(T...)(T args){}
}
void f()
{
    auto a=new A(0); //works
    auto b=new shared A(0); //doesn't work
}

The constructor should get shared qualifier, but doesn't.

--