Skip to content

Commit

Permalink
Merge pull request #28 from MichaelHatherly/mh/fix-1.10
Browse files Browse the repository at this point in the history
Don't add AST transformer when precompiling
  • Loading branch information
MichaelHatherly authored Jan 4, 2024
2 parents 917fe7d + 1729b4e commit 795e43f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/InteractiveErrors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ function wrap_errors(expr)
end

function setup_repl()
# Skip REPL setup if we are precompiling. Avoids warnings in precompilation.
ccall(:jl_generating_output, Cint, ()) == 1 && return nothing

@async begin
done = false
for _ = 1:10
Expand Down

0 comments on commit 795e43f

Please sign in to comment.