2014-08-20 20:48:48 -05:00
|
|
|
module c {whatever:null};
|
|
|
|
|
import a as foo;
|
2014-11-24 17:58:34 -06:00
|
|
|
import d as d {search:"./"};
|
|
|
|
|
import d {search:"./"};
|
|
|
|
|
import e as e {search:"./../lib/jq"};
|
|
|
|
|
import f as f {search:"./../lib/jq"};
|
2014-08-20 20:48:48 -05:00
|
|
|
def a: 0;
|
2014-11-24 17:58:34 -06:00
|
|
|
def c:
|
|
|
|
|
if meh != d::meh then error("import into namespace doesn't work")
|
|
|
|
|
elif foo::a != "a" then error("foo::a didn't work as expected")
|
|
|
|
|
elif d::meh != "meh" then error("d::meh didn't work as expected")
|
|
|
|
|
elif e::bah != "bah" then error("e::bah didn't work as expected")
|
|
|
|
|
elif f::f != "f is here" then error("f::f didn't work as expected")
|
|
|
|
|
else foo::a + "c" + d::meh + e::bah end;
|