SUPER_INITIALIZER_IN_OBJECT constant

CompileTimeErrorCode const SUPER_INITIALIZER_IN_OBJECT

7.6.1 Generative Constructors: Let k be a generative constructor. It is a compile-time error if a generative constructor of class Object includes a superinitializer.

Implementation

static const CompileTimeErrorCode SUPER_INITIALIZER_IN_OBJECT =
    CompileTimeErrorCode('SUPER_INITIALIZER_IN_OBJECT',
        "The class 'Object' can't invoke a constructor from a superclass.")