* enable stricteffects * add gcsafe * fix tests * use func * fixes pegs tests * explicitly mark repr related procs with noSideEffect * add nimLegacyEffects * change URL * fixes docopt * add `raises: []` to repr * fixes weave * fixes nimyaml * fixes glob * fixes parsetoml * Apply suggestions from code review * Update testament/important_packages.nim * add legacy:laxEffects
This commit is contained in:
parent
0510a2be0d
commit
1e15f975b8
16 changed files with 38 additions and 39 deletions
|
|
@ -1701,7 +1701,7 @@ proc pop*[T](s: var seq[T]): T {.inline, noSideEffect.} =
|
|||
result = s[L]
|
||||
setLen(s, L)
|
||||
|
||||
proc `==`*[T: tuple|object](x, y: T): bool =
|
||||
func `==`*[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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue