Skip to content

Commit

Permalink
fix stricteffects (nimsuggest/sexp) (nim-lang#19405)
Browse files Browse the repository at this point in the history
* fix stricteffects (nimsuggest/sexp)

* Update tstrict_effects3.nim

* Update tests/effects/tstrict_effects3.nim
  • Loading branch information
ringabout authored and PMunch committed Mar 28, 2022
1 parent 4b9a67f commit 88128f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimsuggest/sexp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 88128f1

Please sign in to comment.