on master help sign in
javascript: remove overlapping case
3ccbc55raichoo
src/IRTS/CodegenJavaScript.hs−2
@@ -579,8 +579,6 @@ removeEval js =
579 match (JSApp (JSIdent "__IDR__mEVAL0") [val]) = val
579 match (JSApp (JSIdent "__IDR__mEVAL0") [val]) = val
580 match js = transformJS match js
580 match js = transformJS match js
581
581
582− removeEvalApp js = js
583−
584 checkEval :: [JS] -> ([JS], Bool)
582 checkEval :: [JS] -> ([JS], Bool)
585 checkEval js = foldr f ([], False) $ map checkEval' js
583 checkEval js = foldr f ([], False) $ map checkEval' js
586 where
584 where