-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Update the Babel plugin to remove empty static blocks #18562
Update the Babel plugin to remove empty static blocks #18562
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me, with the comment addressed and passing tests; thank you!
This commit updates the Babel plugin to: - apply the same flattening logic that we already have for blocks, to flatten blocks nested inside class static blocks - remove class static blocks when, after flattening all the blocks they contain, they are empty. Before this commit, the transform output was the same as the input.
7513fb7
to
995f5a2
Compare
/botio test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/e38aa397a12e696/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/ae26256d9f6719a/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/ae26256d9f6719a/output.txt Total script time: 30.15 mins
Image differences available at: http://54.241.84.105:8877/ae26256d9f6719a/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/e38aa397a12e696/output.txt Total script time: 45.31 mins
Image differences available at: http://54.193.163.58:8877/e38aa397a12e696/reftest-analyzer.html#web=eq.log |
Closes #18559