mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
fix stricteffects (nimsuggest/sexp) (#19405)
* fix stricteffects (nimsuggest/sexp) * Update tstrict_effects3.nim * Update tests/effects/tstrict_effects3.nim
This commit is contained in:
@@ -409,7 +409,7 @@ macro convertSexp*(x: untyped): untyped =
|
||||
## `%` for every element.
|
||||
result = toSexp(x)
|
||||
|
||||
proc `==`* (a,b: SexpNode): bool =
|
||||
proc `==`* (a, b: SexpNode): bool {.noSideEffect.} =
|
||||
## Check two nodes for equality
|
||||
if a.isNil:
|
||||
if b.isNil: return true
|
||||
|
||||
Reference in New Issue
Block a user