RECURSIVE_CONSTRUCTOR_REDIRECT constant

CompileTimeErrorCode const RECURSIVE_CONSTRUCTOR_REDIRECT

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

TODO(scheglov) review this later, there are no explicit "it is a compile-time error" in specification. But it was added to the co19 and there is same error for factories.

https://code.google.com/p/dart/issues/detail?id=954

Implementation

static const CompileTimeErrorCode RECURSIVE_CONSTRUCTOR_REDIRECT =
    CompileTimeErrorCode('RECURSIVE_CONSTRUCTOR_REDIRECT',
        "Cycle in redirecting generative constructors.")