Skip to content

Commit 93050a3

Browse files
author
Florent Ferrari
committed
use === instead of ==
1 parent 7888e43 commit 93050a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hkmc2/shared/src/main/scala/hkmc2/semantics/ucs/Normalization.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Normalization(elaborator: Elaborator)(using raise: Raise, ctx: Ctx):
5454
fieldName1 == fieldName2 && p1 =:= p2
5555
}
5656
case (Pattern.Synonym(sym1, args1), Pattern.Synonym(sym2, args2)) =>
57-
args1 == args2 && sym1.params == sym2.params && sym1.body == sym2.body
57+
args1 === args2 && sym1.params === sym2.params && sym1.body === sym2.body
5858
case (_:Pattern.ClassLike, _) | (_:Pattern.Lit, _) |
5959
(_:Pattern.Tuple, _) | (_:Pattern.Synonym, _) | (_:Pattern.Record, _) => false
6060
/** Checks if `lhs` can be subsumed under `rhs`. */

0 commit comments

Comments
 (0)