[typer] Make type inference more conservative

It's not entirely correct to infer arguments to (not) equals operator as 
primitives.
This commit is contained in:
Sathya Gunasekaran
2023-01-04 18:09:25 +00:00
parent 09bdf3553f
commit efac190973
-4
View File
@@ -25,10 +25,6 @@ function isPrimitiveBinaryOp(op: t.BinaryExpression["operator"]) {
case ">>":
case "<<":
case "^":
case "==":
case "==":
case "!=":
case "!=":
case ">":
case "<":
case ">=":