Implement static const variables #3394
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
New language feature.
A constant expression is an expression whose value can never change, and that can be evaluated entirely at compile time. A constant expression is one of the following:
A reference to a constant variable.
A constant variable is a variable whose declaration includes the modifier const. A constant variable is always implicitly final. A constant variable must be initialized to a compile-time constant or a compile-time error occurs.
Constant variables are not yet implemented.
See also http://www.dartlang.org/docs/spec/latest/dart-language-specification.html
The text was updated successfully, but these errors were encountered: