#SIGSEGV: Illegal storage access.
#why does it not work?
#and the compiler didn't tell the file nor the line number
type
Foo = ref object
bar: (proc (): Foo)
self: Foo
#OK
type
Foo = ref object
bar: Handler
self: Foo
Handler = (proc (): Foo)
#Error: invalid module name: '../ test'
import ../test
#OK
import "../test"
import ../folder/test2