We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bce889 commit e80758cCopy full SHA for e80758c
test/compile.jl
@@ -127,7 +127,14 @@ try
127
end
128
wait(t)
129
130
- let Foo = eval(Main, Foo_module)
+ let Foo = getfield(Main, Foo_module)
131
+ @test_throws MethodError Foo.foo(17) # world shouldn't be visible yet
132
+ end
133
+ @eval let Foo_module = $(QuoteNode(Foo_module)), # use @eval to see the results of loading the compile
134
+ Foo = getfield(Main, Foo_module),
135
+ dir = $(QuoteNode(dir)),
136
+ cachefile = $(QuoteNode(cachefile)),
137
+ Foo_file = $(QuoteNode(Foo_file))
138
@test Foo.foo(17) == 18
139
@test Foo.Bar.bar(17) == 19
140
0 commit comments