PRIVATE_OPTIONAL_PARAMETER constant

CompileTimeErrorCode const PRIVATE_OPTIONAL_PARAMETER

6.2.2 Optional Formals: It is a compile-time error if the name of a named optional parameter begins with an '_' character.

Implementation

static const CompileTimeErrorCode PRIVATE_OPTIONAL_PARAMETER =
    CompileTimeErrorCode('PRIVATE_OPTIONAL_PARAMETER',
        "Named optional parameters can't start with an underscore.")