New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dart2js: output contains unused static const members #7568
Labels
Comments
Added this to the M3 milestone. |
Added TriageForM5 label. |
Removed this from the M5 milestone. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This appears to have been fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Similar to Issue #5972.
The generated JS contains a block of initializations for all the static variables. Included in this block is initializations for static const members that have no references.
Unused named constants account for about 1% of the size of swarm.
e.g.
class _JsonParser {
static const int BACKSPACE = 8;
-->
$._JsonParser_BACKSPACE = 8;
The text was updated successfully, but these errors were encountered: