Files
wren/test/language/module/cyclic_import/a.wren
Bob Nystrom 8210452970 Relative imports!
This is a breaking change because existing imports in user Wren code
that assume the path is relative to the entrypoint file will now likely
fail.

Also, stack trace output and host API calls that take a module string
now need the resolved module string, not the short name that appears in
the import.
2018-03-24 11:10:36 -07:00

10 lines
159 B
Plaintext

// nontest
System.print("start a")
var A = "a value"
System.print("a defined %(A)")
import "./b" for B
System.print("a imported %(B)")
System.print("end a")