fatal: error thrown and no exception handler available.
InitError(mod=:OptimMOIExt, error=ErrorException("Evaluation into the closed module `Optim` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `Optim` with `eval` during precompilation - don't do this."))
MWE:
With a optim-test/OptimTest.jl file that has:
module OptimTest
using MathOptInterface
using Optim
end
pushfirst!(LOAD_PATH, "optim-test")
using OptimTest
MWE: With a
optim-test/OptimTest.jl
file that has: