Wrong order of evaluating map entries #56848
Labels
feature-null-aware-elements
Implementation of the Null-aware elements feature
legacy-area-front-end
Legacy: Use area-dart-model instead.
model-features
General feature work in the analyzer and CFE.
soundness
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
https://github.com/dart-lang/co19/blob/master/LanguageFeatures/Control-flow-collections/Null-aware-elements/runtime_A02_t02.dart fails at run time on VM, dart2js and dart2wasm.
Why map value is evaluated before the key? According to the spec the key should be evaluated first.
The text was updated successfully, but these errors were encountered: