[dart2js/Dart 2.0] Fix behavior of type errors on partial instantiation in dart2js #34295
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
It was decided in #31953 that the partial instantiation operator needs to check the bounds of type arguments at the point of partial instantiation, rather than waiting until the resulting closure is called. The VM is currently being updated with the correct behavior, but
dart2js
also has the incorrect behavior. For example, the following test should pass:I've suggested P1 priority for this issue because fixing the semantics here is a breaking change.
The text was updated successfully, but these errors were encountered: