Skip to content

Conversation

@ChrisRackauckas-Claude
Copy link

Summary

Fixes package loading error that prevented v3.2.0 registration by replacing invalid Vararg syntax with SymbolicUtils.@syms.

Problem

The package registration for v3.2.0 failed with:

TypeError: in Tuple, in non-final parameter, expected Type, got Vararg

This occurred at src/methods/risch/frontend.jl:728 where the code used:

@variables (.., ..)

This syntax is incompatible with Julia 1.12's type system restrictions on Vararg placement.

Solution

Changed line 728 to:

SymbolicUtils.@syms (::Any, ::Any)::Real

This properly declares the unevaluated integral symbol as a function taking exactly two arguments (the integrand and the variable), which matches how it's used throughout the codebase (lines 806, 823, 828).

Testing

  • ✓ Package loads successfully and precompiles all 3400 integration rules
  • ✓ Tested with existing test files that use the integral symbol
  • ✓ Compatible with Julia 1.12 type system

Related Issues

This fixes the package registration failure for v3.2.0.

🤖 Generated with Claude Code

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 <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Oct 22, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 22.63%. Comparing base (f247c62) to head (40a5b20).
⚠️ Report is 7 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   22.63%   22.63%           
=======================================
  Files          20       20           
  Lines        4131     4131           
=======================================
  Hits          935      935           
  Misses       3196     3196           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ChrisRackauckas ChrisRackauckas merged commit b5dc148 into JuliaSymbolics:main Oct 22, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants