Remove noSideEffect pragmas (#15143)
These don't seem to make sense for the purpose of the procs and lead to errors when the `--experimental:strictFuncs` feature is enabled. See also https://github.com/nim-lang/Nim/issues/15142
This commit is contained in:
parent
c619cedd7c
commit
98eb8410f2
2 changed files with 2 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ proc enlarge(t: StringTableRef) =
|
|||
swap(t.data, n)
|
||||
|
||||
proc `[]=`*(t: StringTableRef, key, val: string) {.
|
||||
rtlFunc, extern: "nstPut", noSideEffect.} =
|
||||
rtlFunc, extern: "nstPut".} =
|
||||
## Inserts a `(key, value)` pair into `t`.
|
||||
##
|
||||
## See also:
|
||||
|
|
|
|||
|
|
@ -334,7 +334,7 @@ proc insert*(father, son: XmlNode, index: int) {.inline.} =
|
|||
else:
|
||||
insert(father.s, son, len(father.s))
|
||||
|
||||
proc delete*(n: XmlNode, i: Natural) {.noSideEffect.} =
|
||||
proc delete*(n: XmlNode, i: Natural) =
|
||||
## Delete the `i`'th child of `n`.
|
||||
##
|
||||
## See also:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue