From bce1f35f87c0f5930632cb4a2db13d4e40c4f56b Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 22 Nov 2022 03:55:13 +0800 Subject: [PATCH] fixes strict effects (#20885) * fixes strict effects * remove nosideeffect * Update lib/system/comparisons.nim --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system.nim b/lib/system.nim index 2373ea12e8..d70f572d0e 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):