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>
13 lines
247 B
Plaintext
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)
|