on master help sign in
javascript: true else branch
commit6fe42383aab676d060a3b7497b46ce9835e69d75 authorraichoo <raichoo@googlemail.com> dateThu 13 Feb 2014, 23:24 (13 years ago) parent9b45298
1 file changed+1−1
src/IRTS/CodegenJavaScript.hs+1−1
src/IRTS/CodegenJavaScript.hs+1−1
@@ -187,7 +187,7 @@ compileJS (JSCond branches) =
187187 intercalate " else " $ map createIfBlock branches
188188 where
189189 createIfBlock (JSTrue, e) =
190− "{\n"
190+ "if (true) {\n"
191191 ++ compileJS e
192192 ++ ";\n}"
193193 createIfBlock (cond, e) =