PRIVATE_COLLISION_IN_MIXIN_APPLICATION constant

CompileTimeErrorCode const PRIVATE_COLLISION_IN_MIXIN_APPLICATION

It is an error for a mixin to add a private name that conflicts with a private name added by a superclass or another mixin.

Implementation

static const CompileTimeErrorCode PRIVATE_COLLISION_IN_MIXIN_APPLICATION =
    CompileTimeErrorCode(
        'PRIVATE_COLLISION_IN_MIXIN_APPLICATION',
        "The private name '{0}', defined by '{1}', "
            "conflicts with the same name defined by '{2}'.",
        correction: "Try removing '{1}' from the 'with' clause.")