git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix #1839, Renaming for nested constructor binders
e935aa3sharkdp
src/Language/PureScript/CoreFn/Traversals.hs+1
@@ -40,6 +40,7 @@ everywhereOnValues f g h = (f', g', h')
40
40
41 h' (LiteralBinder a b) = h (LiteralBinder a (handleLiteral h' b))
41 h' (LiteralBinder a b) = h (LiteralBinder a (handleLiteral h' b))
42 h' (NamedBinder a name b) = h (NamedBinder a name (h' b))
42 h' (NamedBinder a name b) = h (NamedBinder a name (h' b))
43+ h' (ConstructorBinder a q1 q2 bs) = h (ConstructorBinder a q1 q2 (map h' bs))
43 h' b = h b
44 h' b = h b
44
45
45 handleCaseAlternative ca =
46 handleCaseAlternative ca =