Commit Graph

1 Commits

Author SHA1 Message Date
alexlamsl
86a2601a74 fix has_side_effects()
`AST_Try` is an `AST_Block` with extra blocks that also need to scan for side-effects.

Also extend this functionality to handle `AST_If` and `AST_LabeledStatement` while we are at it.

fixes #1673
2017-03-25 22:08:02 +08:00