Skip to content

Remove non-expression statements without effects - #918

Merged
Rich-Harris merged 3 commits into
masterfrom
empty-statements
Sep 10, 2016
Merged

Remove non-expression statements without effects#918
Rich-Harris merged 3 commits into
masterfrom
empty-statements

Conversation

@Rich-Harris

Copy link
Copy Markdown
Contributor

A few things that got overlooked until #917 – in many cases we can discard IfStatement and WhileStatement nodes etc if they don't have any effects outside the bundle. Think I might have fixed some scoping issues while I was at it

@Rich-Harris
Rich-Harris merged commit e761e22 into master Sep 10, 2016
@Rich-Harris
Rich-Harris deleted the empty-statements branch September 10, 2016 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant