If I modify Nim/config/nim.cfg, some modifications don't seem to work:
--verbosity:3 => works
hint[source]=on => doesn't work
eg, say I duplicate a definition in a file test.nim outside of Nim repo:
#test.nim
import osproc
let a=1
let a=1
Nim/bin/nim c -o:app -r test.nim
the hint hint[source]=on is correctly applied:
However, if I modify Nim/lib/pure/osproc.nim and introduce an error, the hint hint[source]=on is not applied:
Nim/lib/pure/osproc.nim(830, 11) Error: redefinition of 'a'
without the 2nd line (controlled by hint[source]=on`)
What's weird is that other changes do work, eg --verbosity:3
I also tried running ./koch tools and ./koch boot -d:release after modifying Nim/config/nim.cfg, but it didn't help