We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0306f19 commit 213b2beCopy full SHA for 213b2be
lib/std/system/comparisons.nim
@@ -1,7 +1,7 @@
1
# comparison operators:
2
3
# not in original nim, so that it works for generic `Ordinal` types:
4
-proc `==`*[T: Ordinal](x, y: T): bool {.magic: "LeI", noSideEffect.}
+proc `==`*[T: Ordinal](x, y: T): bool {.magic: "EqI", noSideEffect.}
5
6
# `enum` typeclass split here to prevent ambiguity with `Ordinal`:
7
proc `==`*[Enum: OrdinalEnum](x, y: Enum): bool {.magic: "EqEnum", noSideEffect.}
0 commit comments