on master help sign in
Make Bitwise shift names match elm-lang/core
ba244b6Evan Czaplicki
src/Generate/JavaScript/Expression.hs+3−3
@@ -338,9 +338,9 @@ getBinaryOp (Var.Canonical home name) =
338 "and" -> Just OpBAnd
338 "and" -> Just OpBAnd
339 "or" -> Just OpBOr
339 "or" -> Just OpBOr
340 "xor" -> Just OpBXor
340 "xor" -> Just OpBXor
341− "leftShift" -> Just OpLShift
341+ "shiftLeftBy" -> Just OpLShift
342− "rightShift" -> Just OpSpRShift
342+ "shiftRightBy" -> Just OpSpRShift
343− "logicalRightShift" -> Just OpZfRShift
343+ "shiftRightZfBy" -> Just OpZfRShift
344 _ -> Nothing
344 _ -> Nothing
345
345
346
346