Merge branch 'master' of github.com:purescript/purescript into record-updates
commit240cdd733aedec08ce6033773e20507e9e24f346
authorjoneshf <jones3.hardy@gmail.com>
dateFri 7 Mar 2014, 17:28 (13 years ago)
parentff965af5e2b540
src/Language/PureScript/Optimizer/Common.hs+1
@@ -42,6 +42,7 @@ isReassigned var1 = everything (||) (mkQ False check)
4242 check (JSFunction _ args _) | var1 `elem` args = True
4343 check (JSVariableIntroduction arg _) | var1 == arg = True
4444 check (JSAssignment (JSVar arg) _) | var1 == arg = True
45+ check (JSFor arg _ _ _) | var1 == arg = True
4546 check _ = False
4647
4748isRebound :: (Data d) => JS -> d -> Bool