Skip to content

Work around Julia 1.12 bug in KI tests - #993

Merged
christiangnrd merged 1 commit into
mainfrom
1.12fix
Nov 20, 2026
Merged

christiangnrd merged 1 commit into
mainfrom
1.12fix

Conversation

@christiangnrd

@christiangnrd christiangnrd commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Ref: JuliaLang/julia#63482

This pattern segfaults:

@noinline g(x) = Base.inferencebarrier(nothing)
function f(vs)
    for v in vs
        GC.@preserve v begin
            g(v)
        end
    end
end
f((Val(1), Val(2)))

@christiangnrd
christiangnrd merged commit 2b0e90c into main Nov 20, 2026
1 of 20 checks passed
@christiangnrd
christiangnrd deleted the 1.12fix branch November 20, 2026 20:44
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

Successfully merging this pull request may close these issues.

1 participant