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

          Issue ID: 14676
           Summary: Calling the constructor of the parent class of an
                    anonymous class
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: sigurdbergsv...@gmail.com

As an enhancement; the ability to call the constructor of the parent class when
creating an anonymous class.

    class A {
        this(int param) {

        }
    }

    A anonymous = new class A(12) {}
                             ^  ^

--

Reply via email to