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 9c5454c commit 9026819Copy full SHA for 9026819
test/interpret.jl
@@ -824,7 +824,11 @@ end
824
end
825
# this shouldn't throw "type DataType has no field hasfreetypevars"
826
# even after https://github.com/JuliaLang/julia/pull/41018
827
- @test Int === @interpret Core.Compiler.getfield_tfunc(m.Foo, Core.Compiler.Const(:foo))
+ @static if VERSION ≥ v"1.9.0-DEV.1556"
828
+ @test Int === @interpret Core.Compiler.getfield_tfunc(Core.Compiler.fallback_lattice, m.Foo, Core.Compiler.Const(:foo))
829
+ else
830
+ @test Int === @interpret Core.Compiler.getfield_tfunc(m.Foo, Core.Compiler.Const(:foo))
831
+ end
832
833
834
@testset "https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/488" begin
0 commit comments