AlgebraicJulia / SyntacticModels.jl

Specifying models with syntax trees
MIT License
3 stars 3 forks source link

SyntacticModels `main` broken when building against Decapodes `main` #32

Closed fivegrant closed 8 months ago

fivegrant commented 8 months ago

Latest SyntacticModels doesn't compile with latest Decapodes

Steps to reproduce

julia> ] add https://github.com/AlgebraicJulia/SyntacticModels.jl/
julia> ] add https://github.com/AlgebraicJulia/Decapodes.jl/

Output

PkgPrecompileError: The following 1 direct dependency failed to precompile:

SyntacticModels [22bb929c-8bcf-4852-b455-eb3e1675e09c]

Failed to precompile SyntacticModels [22bb929c-8bcf-4852-b455-eb3e1675e09c] to "/home/five/.julia/compiled/v1.10/SyntacticModels/jl_u65HBr".
ERROR: LoadError: UndefVarError: `Equation` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ ~/.julia/packages/SyntacticModels/hL8gg/src/decapodes.jl:41
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [4] include(x::String)
   @ SyntacticModels ~/.julia/packages/SyntacticModels/hL8gg/src/SyntacticModels.jl:1
 [5] top-level scope
   @ ~/.julia/packages/SyntacticModels/hL8gg/src/SyntacticModels.jl:5
 [6] include
   @ Base ./Base.jl:495 [inlined]
 [7] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2216
 [8] top-level scope
   @ stdin:3
in expression starting at /home/five/.julia/packages/SyntacticModels/hL8gg/src/decapodes.jl:1
in expression starting at /home/five/.julia/packages/SyntacticModels/hL8gg/src/SyntacticModels.jl:1
in expression starting at stdin: