www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15185] New: [REG2.069.0-b1] Not possible to create instance


          Issue ID: 15185
           Summary: [REG2.069.0-b1]  Not possible to create instance of
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: doob me.com

The following code results in the error below:

void main ()
    auto a = new TypeInfo;

main.d(8): Error: cannot create instance of abstract class TypeInfo
main.d(8):        function 'const(void)[] init() const pure nothrow  nogc
 safe' is not implemented

I guess the change is intentional but it's a breaking change.

Oct 11 2015