Don't bind signatures to immediately applied closures #31204
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
type-performance
Issue relates to performance or code size
web-dev-compiler
A relatively common pattern is
We currently bind a signature to the closure, despite it obviously not escaping. There is an example of this in angular change detection, which causes substantial unnecessary allocation.
The text was updated successfully, but these errors were encountered: