math.nim: Use func everywhere (#16285)
* math.nim: procs with {.noSideEffect} -> funcs
* math.nim: procs without {.noSideEffect.} -> funcs
* math.nim: proc -> func in links
* math.nim: proc -> func in doc comments
* test: add `math` to strictFuncs test
This commit is contained in:
parent
84fea7c144
commit
2297b96238
2 changed files with 271 additions and 265 deletions
|
|
@ -2,7 +2,15 @@ discard """
|
|||
cmd: "nim c --experimental:strictFuncs --experimental:views $file"
|
||||
"""
|
||||
|
||||
import tables, streams, nre, parsecsv, uri, httpcore, strutils
|
||||
import tables, streams, parsecsv
|
||||
# We import the below modules to check that they compile with `strictFuncs`.
|
||||
# They are otherwise unused in this file.
|
||||
import
|
||||
httpcore,
|
||||
math,
|
||||
nre,
|
||||
strutils,
|
||||
uri
|
||||
|
||||
type
|
||||
Contig2Reads = TableRef[string, seq[string]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue