Ah sorry it is `--hint[source]:on`. What `gcsafe` annotation does is override
the analysis that says whether it touches gc'd memory. To prevent this issue
from appearing again you can follow this, it also does show the types of the
procs so you can see their effects.
var a = @[100, 200]
type YourProc = proc()
proc doThing() =
echo a[0]
a[0] = 300
proc doOtherThing =
echo 100 + 30
echo doThing.type, doOtherThing.type
var b = @[doThing.YourProc, doOtherThing]
Run
- Seq of procs asrp
- Seq of procs ElegantBeef
- Seq of procs Araq
- Seq of procs pietroppeter
- Seq of procs asrp
- Seq of procs asrp
- Seq of procs ElegantBeef
- Seq of procs asrp
- Seq of procs ElegantBeef
