Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core.Compiler.validate_code_in_debug_mode does not exist in 1.11 #155

Open
KristofferC opened this issue Mar 4, 2024 · 3 comments
Open

Comments

@KristofferC
Copy link

KristofferC commented Mar 4, 2024

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

@brenhinkeller
Copy link
Collaborator

brenhinkeller commented Mar 4, 2024

Does 1.11 just break every package?

@KristofferC
Copy link
Author

KristofferC commented Mar 4, 2024

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.

@brenhinkeller
Copy link
Collaborator

brenhinkeller commented Mar 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants