mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
fixes strict effects (#20885)
* fixes strict effects * remove nosideeffect * Update lib/system/comparisons.nim
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user