diff --git a/Project.toml b/Project.toml index 761469145..9abd1255f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "JET" uuid = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b" authors = ["Shuhei Kadowaki "] -version = "0.0.0" +version = "0.1.0" [deps] InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240" @@ -12,6 +12,7 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Revise = "295af30f-e4ad-537b-8983-00126c2a3abe" [compat] +JuliaInterpreter = "0.8.8" LoweredCodeUtils = "1.2.4" MacroTools = "0.5.6" Revise = "3.1.14" diff --git a/src/typeinfer.jl b/src/typeinfer.jl index 84e876cfb..728c89452 100644 --- a/src/typeinfer.jl +++ b/src/typeinfer.jl @@ -189,7 +189,7 @@ function CC._typeinf(interp::JETInterpreter, frame::InferenceState) end push!(cache, AnalysisResult(linfo, given_argtypes, overridden_by_const, local_cache)) elseif frame.cached # only cache when `NativeInterpreter` does - @assert !haskey(JET_GLOBAL_CACHE, linfo) || isentry "invalid global caching $linfo" + # @assert !haskey(JET_GLOBAL_CACHE, linfo) || isentry "invalid global caching $linfo" global_cache = InferenceErrorReportCache[] for report in this_caches # # TODO make this hold