You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@munificent kindly provided the following explanation:
We use the matched value's type, Map<C<String>, int> to infer the static type for the map pattern. Then we use the inferred key type from that, C<String> as the context type for the key constant expressions.
co19/LanguageFeatures/Patterns/type_inference_A29_t07 test currently fails with the runtime error because of this bug.
For the following code:
The type argument of the 1st constant is currently inferred as
C<dynamic>
, but it should beC<String>
.Kernel:
@munificent kindly provided the following explanation:
co19/LanguageFeatures/Patterns/type_inference_A29_t07
test currently fails with the runtime error because of this bug.@johnniwinther @chloestefantsova
The text was updated successfully, but these errors were encountered: