summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-22 03:55:13 +0800
committerGitHub <noreply@github.com>2022-11-21 14:55:13 -0500
commitbce1f35f87c0f5930632cb4a2db13d4e40c4f56b (patch)
treebe47d44a07a46e261b710a03e4ae7204f12e9eca /lib/system.nim
parent79b25a911be36da87aa012b23e854a3bed01833c (diff)
downloadNim-bce1f35f87c0f5930632cb4a2db13d4e40c4f56b.tar.gz
fixes strict effects (#20885)
* fixes strict effects

* remove nosideeffect

* Update lib/system/comparisons.nim
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 2373ea12e..d70f572d0 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1683,7 +1683,7 @@ proc pop*[T](s: var seq[T]): T {.inline, noSideEffect.} =
     result = s[L]
     setLen(s, L)
 
-func `==`*[T: tuple|object](x, y: T): bool =
+proc `==`*[T: tuple|object](x, y: T): bool =
   ## Generic `==` operator for tuples that is lifted from the components.
   ## of `x` and `y`.
   for a, b in fields(x, y):