Skip to content

Fix Julia 1.12 warning on tetra and triangle #383

@tmigot

Description

@tmigot

From https://github.com/JuliaSmoothOptimizers/OptimizationProblems.jl/actions/runs/18972534491/job/54183585904?pr=377

WARNING: Detected access to binding ADNLPProblems.xe_duct12 in a world prior to its definition world.
Julia 1.12 has introduced more strict world age semantics for global bindings.
!!! This code may malfunction under Revise.
!!! This code will error in future versions of Julia.
Hint: Add an appropriate invokelatest around the access to this binding.
To make this warning an error, and hence obtain a stack trace, use julia --depwarn=error.
WARNING: Detected access to binding ADNLPProblems.TETS_duct12 in a world prior to its definition world.
Julia 1.12 has introduced more strict world age semantics for global bindings.
!!! This code may malfunction under Revise.
!!! This code will error in future versions of Julia.
Hint: Add an appropriate invokelatest around the access to this binding.
To make this warning an error, and hence obtain a stack trace, use julia --depwarn=error.
WARNING: Detected access to binding ADNLPProblems.Const_duct12 in a world prior to its definition world.
Julia 1.12 has introduced more strict world age semantics for global bindings.
!!! This code may malfunction under Revise.
!!! This code will error in future versions of Julia.
Hint: Add an appropriate invokelatest around the access to this binding.
To make this warning an error, and hence obtain a stack trace, use julia --depwarn=error.
18.868578 seconds (4.20 M allocations: 2.846 GiB, 28.30% gc time, 7.96% compilation time)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions