Fix code gen bug for OpStrictNEq
I don’t think the compiler generated this operator for anything in any
prior version, which would explain how it persisted for so long.
commit84a9cdf36b35d7614017089e54dd21d6a557dc30
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateWed 10 Jan 2018, 01:47 (9 years ago)
parent7dfbc30
src/Generate/JavaScript/Builder.hs+2−2
@@ -91,7 +91,7 @@ data InfixOp
9191 | OpEq -- ==
9292 | OpNEq -- !=
9393 | OpStrictEq -- ===
94− | OpStrictNEq -- !===
94+ | OpStrictNEq -- !==
9595 | OpLAnd -- &&
9696 | OpLOr -- ||
9797 | OpMul -- *
@@ -510,7 +510,7 @@ fromInfix op =
510510 OpEq -> " == "
511511 OpNEq -> " != "
512512 OpStrictEq -> " === "
513− OpStrictNEq -> " !=== "
513+ OpStrictNEq -> " !== "
514514 OpLAnd -> " && "
515515 OpLOr -> " || "
516516 OpMul -> " * "