Skip to content

Commit 11e81b5

Browse files
authored
Fix version bound on type analysis error (#2958)
1 parent 65b25e0 commit 11e81b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/errors.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,8 @@ function Base.showerror(io::IO, ece::IllegalTypeAnalysisException)
707707
Base.Experimental.show_error_hints(io, ece)
708708
end
709709
print(io, "IllegalTypeAnalysisException: Enzyme compilation failed due to illegal type analysis.\n")
710-
if VERSION <= v"1.12" && VERSION <= v"1.12.5"
711-
printstyled(io, "Hintg:"; bold = true, color = :cyan)
710+
if VERSION >= v"1.12" && VERSION < v"1.12.5"
711+
printstyled(io, "Hint:"; bold = true, color = :cyan)
712712
printstyled(
713713
io,
714714
": You are using Julia $(VERSION) which is known as a source of this error. This will be fixed in Julia 1.12.5. Either use Julia 1.10, 1.11, or wait for Julia 1.12.5.\nTo track the release progress, see https://github.com/JuliaLang/julia/pull/60612.";

0 commit comments

Comments
 (0)