Bizarre enough, the following seems to work:
#module A
static:
var test=0
proc test_proc(): void {.discardable,compileTime.} =
var a = test
echo a
static:
test_proc()
#module B
import A
static:
test_proc()
- two questions about static lotzz
- Re: two questions about static Araq
- Re: two questions about static lotzz
- Re: two questions about static lotzz
- Re: two questions about static yglukhov
- Re: two questions about static lotzz
- Re: two questions about static Udiknedormin
