fixes strict effects (#20885)
* fixes strict effects * remove nosideeffect * Update lib/system/comparisons.nim
This commit is contained in:
parent
79b25a911b
commit
bce1f35f87
1 changed files with 1 additions and 1 deletions
|
|
@ -1683,7 +1683,7 @@ proc pop*[T](s: var seq[T]): T {.inline, noSideEffect.} =
|
||||||
result = s[L]
|
result = s[L]
|
||||||
setLen(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.
|
## Generic `==` operator for tuples that is lifted from the components.
|
||||||
## of `x` and `y`.
|
## of `x` and `y`.
|
||||||
for a, b in fields(x, y):
|
for a, b in fields(x, y):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue