You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the tests locally on the current nightly fails, see below. The nature of the error seems to imply that it's not just some temporary regression on nightly, but an actual issue.
The syntax: malformed expression is the same error I'm getting in my own project trying to call a RuntimeGeneratedFunction.
Expected behavior
The tests should succeed and RGFs should be callable.
Minimal Reproducible Example 👇
using Pkg
Pkg.test() # with julia +nightly --project
Error & Stacktrace ⚠️
Testing Running tests...
Test Summary:| Pass Total Time
Aqua |101011.6s
Error During Test at /home/antonr/repos/RuntimeGeneratedFunctions.jl/test/runtests.jl:157
Test threw exception
Expression: ((#= /home/antonr/repos/RuntimeGeneratedFunctions.jl/test/runtests.jl:157 =#@RuntimeGeneratedFunction(ex))(2))(3) ===5
syntax: malformed expression
Stacktrace:
[1] top-level scope
@ ~/repos/RuntimeGeneratedFunctions.jl/test/runtests.jl:157
[2] (::RuntimeGeneratedFunction{(:x,), var"#_RGF_ModTag", var"#_RGF_ModTag", (0x0b620387, 0x0984f55d, 0x444b0809, 0x67f78240, 0x222043e0), Expr})(args::Int64)
@ RuntimeGeneratedFunctions ~/repos/RuntimeGeneratedFunctions.jl/src/RuntimeGeneratedFunctions.jl:150
[3] top-level scope
@ ~/repos/RuntimeGeneratedFunctions.jl/test/runtests.jl:515
[4] macro expansion
@ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Test/src/Test.jl:676 [inlined]
ERROR: LoadError: There was an error during testing
in expression starting at /home/antonr/repos/RuntimeGeneratedFunctions.jl/test/runtests.jl:157
ERROR: Package RuntimeGeneratedFunctions errored during testing
Environment (please complete the following information):
Unit tests fail on 1.12
Running the tests locally on the current
nightly
fails, see below. The nature of the error seems to imply that it's not just some temporary regression on nightly, but an actual issue.The
syntax: malformed expression
is the same error I'm getting in my own project trying to call aRuntimeGeneratedFunction
.Expected behavior
The tests should succeed and RGFs should be callable.
Minimal Reproducible Example 👇
Error & Stacktrace⚠️
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: