-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresfeature-wildcard-variablesImplementation of the wildcard variables featureImplementation of the wildcard variables featurelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
typedef R = (String _, String _);
(int _, int _) record;It is currently an error for a (positional) record field name to begin with
_(including just a bare_). We relax that error to only apply to record fields whose name begins with_followed by at least one other character (even if those later character(s) are_).
Named fields of record types are unchanged. It is still a compile-time error for a named field name to start with
_.
- update
INVALID_FIELD_NAME_PRIVATEto allow positional_s in record types. - update
DUPLICATE_FIELD_NAMEto allow multiple positional_s in record types
Metadata
Metadata
Assignees
Labels
P1A high priority bug; for example, a single project is unusable or has many test failuresA high priority bug; for example, a single project is unusable or has many test failuresfeature-wildcard-variablesImplementation of the wildcard variables featureImplementation of the wildcard variables featurelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug