on master help sign in
Update the bitwise op inlining for new names
f71c9d4Evan 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− "shiftLeft" -> Just OpLShift
341+ "leftShift" -> Just OpLShift
342− "shiftRight" -> Just OpSpRShift
342+ "rightShift" -> Just OpSpRShift
343− "shiftRightLogical" -> Just OpZfRShift
343+ "logicalRightShift" -> Just OpZfRShift
344 _ -> Nothing
344 _ -> Nothing
345
345
346
346