StaticCompiler.jl
StaticCompiler.jl copied to clipboard
`Core.Compiler.validate_code_in_debug_mode` does not exist in 1.11
ERROR: LoadError: UndefVarError: `validate_code_in_debug_mode` not defined in `Core.Compiler`
Stacktrace:
[1] getproperty
@ ./Base.jl:42 [inlined]
[2] Core.Compiler.InferenceState(result::Core.Compiler.InferenceResult, cache::Symbol, interp::StaticCompiler.StaticInterpreter)
@ StaticCompiler ~/.julia/packages/StaticCompiler/Uki9T/src/interpreter.jl:89
[3] typeinf_frame
@ ./compiler/typeinfer.jl:1003 [inlined]
[4] typeinf_code
@ ./compiler/typeinfer.jl:948 [inlined]
[5] typeinf_code(interp::StaticCompiler.StaticInterpreter, match::Core.MethodMatch, run_optimizer::Bool)
@ Core.Compiler ./compiler/typeinfer.jl:9
Also many other errors on 1.11: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/0520b80_vs_bd47eca/StaticTools.primary.log
Does 1.11 just break every package?
Packages that are coded in such a way that they e.g. access random symbols inside e.g. Core.Compiler tend to break on every minor version, yes.
Oh I see, it's the casette-type stuff, I've never touched that part of the code here. It does seem like an unusually high rate though.