WARNING: Method definition (::Type{Main.ValueOne})() in module Main at /tmp/jl_12jeXkrepU.jl:3 overwritten at /tmp/jl_n8jcPizyDg.jl:3.
WARNING: Method definition matfun_axpby!(Any, Any, Any, LinearAlgebra.UniformScaling{T} where T<:Number) in module Main at /tmp/jl_12jeXkrepU.jl:7 overwritten at /tmp/jl_n8jcPizyDg.jl:7.
WARNING: Method definition matfun_axpby!(Any, Any, Any, Any) in module Main at /tmp/jl_12jeXkrepU.jl:19 overwritten at /tmp/jl_n8jcPizyDg.jl:19.
At the moment we get warnings like
This stems from https://github.com/matrixfunctions/GraphMatFun.jl/blob/6d9fac6baf0d39a356edc2eb1aa4e0086d675b7c/test/code_gen_test.jl#L24-L26
In every generated file we obtain some functions like
matfun_axbpy!
. They are the same in every generated piece of code.One solution: add parameter to
LangJulia
such that generating such functions becomes optional.