pub/yaml_test and switch/case #48
Labels
closed-stale
Closed as the issue or PR is assumed stale
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
<img src="https://avatars.githubusercontent.com/u/384794?v=3" align="left" width="96" height="96"hspace="10"> Issue by scheglov
Originally opened as dart-lang/sdk#3539
According to spec "11.8 Switch" - "It is a compile-time error if the expressions ek are not
compile-time constants, of type int or String, for all k 2 1::n.".
But fields in _Parser are not declared as "int" or "String".
So, this test will fail when we will enforce int/String in Analyser/Editor.
The text was updated successfully, but these errors were encountered: