git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge branch 'master' of github.com:purescript/purescript into record-updates
240cdd7joneshf
src/Language/PureScript/Optimizer/Common.hs+1
@@ -42,6 +42,7 @@ isReassigned var1 = everything (||) (mkQ False check)
42 check (JSFunction _ args _) | var1 `elem` args = True
42 check (JSFunction _ args _) | var1 `elem` args = True
43 check (JSVariableIntroduction arg _) | var1 == arg = True
43 check (JSVariableIntroduction arg _) | var1 == arg = True
44 check (JSAssignment (JSVar arg) _) | var1 == arg = True
44 check (JSAssignment (JSVar arg) _) | var1 == arg = True
45+ check (JSFor arg _ _ _) | var1 == arg = True
45 check _ = False
46 check _ = False
46
47
47isRebound :: (Data d) => JS -> d -> Bool
48isRebound :: (Data d) => JS -> d -> Bool