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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue