dart2js crashes with NoSuchMethodError on JS-interop code #42612
Labels
area-web-js
Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop
crash
Process exits with SIGSEGV, SIGABRT, etc. An unhandled exception is not a crash.
customer-dart2js
customer-flutter
dart2js-crash
P1
A high priority bug; for example, a single project is unusable or has many test failures
web-js-interop
Issues that impact all js interop
I'm getting the following error trying to compile a Flutter app with engine changes in flutter/engine@4776107.
The pattern that seems to be triggering the error is the one we use to convert between Dart-side enums to an enum-like API in the CanvasKit JavaScript library. Here's an example:
If I comment out all usages of
toSkFilterQuality
(and similar functions) dart2js is happy./cc @rakudrama @fishythefish
The text was updated successfully, but these errors were encountered: