javascript: JSNull is a constant
commit064e6d17ec5b192d746eafab1ba76903afc2c87e
authorraichoo <raichoo@googlemail.com>
dateMon 3 Feb 2014, 00:46 (13 years ago)
parent88e5823
src/IRTS/CodegenJavaScript.hs+1
@@ -385,6 +385,7 @@ isJSConstant js
385385 | JSChar _ <- js = True
386386 | JSNum _ <- js = True
387387 | JSType _ <- js = True
388+ | JSNull <- js = True
388389
389390 | JSApp (JSIdent "__IDRRT__bigInt") _ <- js = True
390391 | otherwise = False