MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS constant

CompileTimeErrorCode const MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS

7.6.1 Generative Constructors: A generative constructor may be redirecting, in which case its only action is to invoke another generative constructor.

Implementation

MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS = CompileTimeErrorCode(
    'MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS',
    "Constructors can have at most one 'this' redirection.",
    correction: "Try removing all but one of the redirections.")