-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
DocumentationRelated to documentation content (not generation).Related to documentation content (not generation).Error Messages
Description
Code:
import os
import ospaths
import parsetoml
proc GetConfigFileName() : string =
return joinPath(getAppDir(), "lc0client.toml")
proc ReadConfig() : TomlTableRef =
return parseFile(GetConfigFileName())Check with:
$ nim check --verbosity:2 a.nimUnreasonable warning:
a.nim(9, 19) Warning: not GC-safe: 'parseFile(GetConfigFileName())' [GcUnsafe]
Metadata
Metadata
Assignees
Labels
DocumentationRelated to documentation content (not generation).Related to documentation content (not generation).Error Messages