Skip to content

Error with LoweredCodeUtils v3.6 #827

Description

@PatrickHaecker

The error is something like this:

Failed to precompile JET [c3a54625-cd67-489e-a8e7-0a5a0ff4e31b] to "/home/runner/.julia/compiled/v1.12/JET/jl_c7FvFG".
ERROR: LoadError: MethodError: no method matching add_active_gotos!(::BitVector, ::Core.CodeInfo, ::Compiler.CFG, ::Compiler.GenericDomTree{true})
The function `add_active_gotos!` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  add_active_gotos!(::Any, ::Core.CodeInfo, ::Compiler.CFG, ::Any, ::LoweredCodeUtils.SelectiveEvalController)
   @ LoweredCodeUtils ~/.julia/packages/LoweredCodeUtils/g9HL3/src/codeedges.jl:933

JET indicates compatibility with LoweredCodeUtils 3, but 3.6 broke this incompatibility (without blaming anyone, just matter of fact).

I added the fix into #815.

Update:
I just saw that a compatibility constraint on LoweredCodeUtils will be added to JET, soon. This works, but if there are no downsides on my approach, I think it is the better fix, because it won't hold back the new version of LoweredCodeUtils for other packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions