mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-10 21:58:48 +01:00
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.
10 lines
159 B
Plaintext
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")
|