fix stricteffects (nimsuggest/sexp) (#19405)
* fix stricteffects (nimsuggest/sexp) * Update tstrict_effects3.nim * Update tests/effects/tstrict_effects3.nim
This commit is contained in:
parent
d7869a8009
commit
aac54b9c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -409,7 +409,7 @@ macro convertSexp*(x: untyped): untyped =
|
||||||
## `%` for every element.
|
## `%` for every element.
|
||||||
result = toSexp(x)
|
result = toSexp(x)
|
||||||
|
|
||||||
proc `==`* (a,b: SexpNode): bool =
|
proc `==`* (a, b: SexpNode): bool {.noSideEffect.} =
|
||||||
## Check two nodes for equality
|
## Check two nodes for equality
|
||||||
if a.isNil:
|
if a.isNil:
|
||||||
if b.isNil: return true
|
if b.isNil: return true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue