[dart2js] Too many call-through stubs for fields named call
.
#51827
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
dart2js-optimization
web-dart2js
Consider the following program that has a field named
call
and some closure calls:The output contains call-through stubs on
Foo
These happen because
Foo
escapes and the properly-typed closure calls are treated as dynamic closure calls.In a real large app, there were ~800 such call-through stubs (b/274670138).
Fixes:
The text was updated successfully, but these errors were encountered: