mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-15 16:18:04 +01:00
13 lines
219 B
Plaintext
13 lines
219 B
Plaintext
import "a" for A
|
|
import "b" for B
|
|
|
|
// Shared module should only run once:
|
|
// expect: a
|
|
// expect: shared
|
|
// expect: a done
|
|
// expect: b
|
|
// expect: b done
|
|
|
|
IO.print(A) // expect: a shared
|
|
IO.print(B) // expect: b shared
|