-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
bugThere is a mistake in the language specification or in an active documentThere is a mistake in the language specification or in an active document
Description
With the Static access shorthand feature how should the following be parsed?
enum E {
e1, e2;
static E? one = null;
}
main() {
var l1 = <E>[
....values // Error?
];
var l2 = <E>[
... .values // ... E.values?
];
var l3 = <E>[
...?.values // Error?
];
var l4 = <E>[
...? .values // ...? E.values?
];
var l5 = <E>[
?.one // Null-aware element `?E.one`?
];Metadata
Metadata
Assignees
Labels
bugThere is a mistake in the language specification or in an active documentThere is a mistake in the language specification or in an active document