Type inference fails when inferring type parameter of type argument #33758
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang
8000
/language).
If a type parameter has a type parameter itself (e.g.,
<T extends Iterable<U>, U>
), the inner type parameter is not inferred (U
).dev.66. I've attached a repro. I expected the output of this program to be
List<String> String
, but it isList<String> dynamic
.The text was updated successfully, but these errors were encountered: