[dart2js] Zero-effect code not tree-shaken off #11559
Labels
area-web
Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
INPUT:
main() {
new Foo(); // Has no effect
}
class Foo {}
OUTPUT (reformatted):
main(){
new Foo(); // expected to be gone
}
class Foo{} // expected to be gone
The text was updated successfully, but these errors were encountered: