Default argument values should imply "const" context #574
Labels
enhanced-const
Requests or proposals about enhanced constant expressions
feature
Proposed language feature that solves one or more problems
@Hixie commented on Jan 17, 2019, 7:03 AM UTC:
If you run this:
...you get an exception (a bad one, currently, see #35683).
I think the fact that only a constant is allowed to be used there should imply a constant context and thus make the "const" redundant and implied.
This issue was moved by eernstg from dart-lang/sdk#35684.
The text was updated successfully, but these errors were encountered: