MULTIPLE_SUPER_INITIALIZERS constant

CompileTimeErrorCode const MULTIPLE_SUPER_INITIALIZERS

7.6.1 Generative Constructors: Let k be a generative constructor. Then k may include at most one superinitializer in its initializer list or a compile time error occurs.

Implementation

static const CompileTimeErrorCode MULTIPLE_SUPER_INITIALIZERS =
    CompileTimeErrorCode('MULTIPLE_SUPER_INITIALIZERS',
        "Constructor may have at most one 'super' initializer.",
        correction: "Try removing all but one of the 'super' initializers.")