diff options
author | flywind <xzsflywind@gmail.com> | 2022-01-19 05:02:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 16:02:35 -0500 |
commit | aac54b9c7ffb75c9aab446574171b33bf23a29ed (patch) | |
tree | e2e59f9309f4a461107e406db429ea640d37a854 | |
parent | d7869a80092354468594f7d5c5dfdd91f564fec7 (diff) | |
download | Nim-aac54b9c7ffb75c9aab446574171b33bf23a29ed.tar.gz |
fix stricteffects (nimsuggest/sexp) (#19405)
* fix stricteffects (nimsuggest/sexp) * Update tstrict_effects3.nim * Update tests/effects/tstrict_effects3.nim
-rw-r--r-- | nimsuggest/sexp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/sexp.nim b/nimsuggest/sexp.nim index cee538b6e..31f4988e1 100644 --- a/nimsuggest/sexp.nim +++ b/nimsuggest/sexp.nim @@ -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 |