Files
not-python-rust/tests/modules.npp
Alek Ratzloff 17408a8695 Implement import a, b, c from foo syntax
This brings stuff into the local scope, but it is a little funky with
local scopes that are above the current level (in the same function or
module).

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-10-04 20:12:21 -07:00

13 lines
247 B
Plaintext

import "modules/test_import_directory.npp"
import test_import_local
println(test_import_local.foo)
println(test_import_local.bar)
println(test_import_local.baz)
import foo, bar, baz from test_import_local
println(foo)
println(bar)
println(baz)