2f97501551
The JS interop transformer assumes the entire AST has been checked and ends up trying to cast to FunctionType. If there is malformed, unvisited interop code this results opaque failure (failed type cast) rather than the useful error message from the check. Bug: https://github.com/dart-lang/sdk/issues/56443 Change-Id: I5b911d0da7a839e3045dce61121496d464b79af9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/380381 Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/tree/main/docs/Testing.md.