TOP_LEVEL_CYCLE constant

StrongModeCode const TOP_LEVEL_CYCLE

Implementation

static const StrongModeCode TOP_LEVEL_CYCLE = StrongModeCode(
    ErrorType.COMPILE_TIME_ERROR,
    'TOP_LEVEL_CYCLE',
    "The type of '{0}' can't be inferred because it depends on itself "
        "through the cycle: {1}.",
    correction:
        "Try adding an explicit type to one or more of the variables in the "
        "cycle in order to break the cycle.")