diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-09-04 13:17:13 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-09-04 13:17:13 +0300 |
commit | 3459c40cf9d17c6c791a86d387bba85e965c37b6 (patch) | |
tree | c307996b56306a3242ad57a104ffe60073aa25f5 /lib | |
parent | 86cfb5be86603b472085920a82905b22c9d06fea (diff) | |
download | tracifyjs-3459c40cf9d17c6c791a86d387bba85e965c37b6.tar.gz tracifyjs-3459c40cf9d17c6c791a86d387bba85e965c37b6.zip |
if present, the `else` in an `if` should always be forced statement
Diffstat (limited to 'lib')
-rw-r--r-- | lib/output.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output.js b/lib/output.js index 98bc983c..e5c1c26b 100644 --- a/lib/output.js +++ b/lib/output.js @@ -649,7 +649,7 @@ function OutputStream(options) { output.space(); output.print("else"); output.space(); - self.alternative.print(output); + force_statement(self.alternative, output); } else { self._do_print_body(output); } |