mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 01:59:38 +00:00
38d92ddb6c
This is already implemented by all platforms and may be in use. Also clean up redundant requirements for constant literals and object expressions. There is no need to check whether `x` is constant in order to allow `const [x]` as a potentially constant expression. We will get a compile-time error anyway if it isn't, because that is written explicitly for constant map literals. Similarly for map literals and constant object expressions. Change-Id: I425489ff3c0063fa59937978267b13ee68aa039d Reviewed-on: https://dart-review.googlesource.com/c/81274 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Erik Ernst <eernst@google.com> Reviewed-by: Leaf Petersen <leafp@google.com> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> |
||
---|---|---|
.. | ||
informal | ||
.gitignore | ||
Dart.g | ||
dart.sty | ||
dartLangSpec.tex | ||
Makefile |