-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
regression 1.12Regression in the 1.12 releaseRegression in the 1.12 release
Description
Over at IntervalArithmetic.jl, we are witnessing CI failure for the Julia version 1.12.0-rc3 (as well as nightly).
Everything works fine on Julia versions 1.10.x, 1.11.x and 1.12-rc2.
The beginning of the error message is:
LLVM ERROR: out of memory
Allocation failed
[2506] signal 6 (-6): Aborted
I do not know if this is relevant, but the only "odd thing" we do in the library is a use of @eval
to allow the user to configure
some algorithm behavior.
So something in the vein of
struct A{T} end
foo(::A{:fast}, a) = "use fast algorithm"
foo(::A{:slow}, a) = "use slow algorithm"
foo(a) = foo(default(), a)
default() = A{:fast}()
configure(algo) = @eval default() = A{$(QuoteNode(algo))}()
and then
julia> foo(1)
"use fast algorithm"
julia> configure(:slow)
default (generic function with 1 method)
julia> foo(1)
"use slow algorithm"
Metadata
Metadata
Assignees
Labels
regression 1.12Regression in the 1.12 releaseRegression in the 1.12 release