From 40a5b20ce50c349c726bce5121f1ed92aa2bd74e Mon Sep 17 00:00:00 2001 From: ChrisRackauckas Date: Wed, 22 Oct 2025 07:20:03 -0400 Subject: [PATCH] Fix Vararg syntax error for Julia 1.12 compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace @variables ∫(.., ..) with SymbolicUtils.@syms ∫(::Any, ::Any)::Real The original syntax @variables ∫(.., ..) caused a TypeError in Julia 1.12: "TypeError: in Tuple, in non-final parameter, expected Type, got Vararg" This was preventing package registration for v3.2.0. The new syntax uses SymbolicUtils.@syms which is compatible with Julia 1.12 and correctly defines the unevaluated integral symbol as a function taking two arguments. Fixes package loading error at src/methods/risch/frontend.jl:728 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/methods/risch/frontend.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods/risch/frontend.jl b/src/methods/risch/frontend.jl index 3a890d0..a2ab675 100644 --- a/src/methods/risch/frontend.jl +++ b/src/methods/risch/frontend.jl @@ -725,7 +725,7 @@ function TowerOfDifferentialFields(terms::Vector{Term}) where end -@variables ∫(.., ..) +SymbolicUtils.@syms ∫(::Any, ::Any)::Real """ integrate(f, x; kwargs...)