Skip to content

Remove deprecated use of 'jacobian' as non-keyword#1573

Merged
WardBrian merged 2 commits intomasterfrom
jacobian-deprecation
Dec 9, 2025
Merged

Remove deprecated use of 'jacobian' as non-keyword#1573
WardBrian merged 2 commits intomasterfrom
jacobian-deprecation

Conversation

@WardBrian
Copy link
Copy Markdown
Member

@WardBrian WardBrian commented Dec 8, 2025

Submission Checklist

  • Run unit tests
  • Documentation
    • If a user-facing facing change was made, the documentation PR is here:
    • OR, no user-facing changes were made

Release notes

Expiring deprecation: jacobian is now a reserved keyword.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to
license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.30%. Comparing base (e94be92) to head (dd95ac9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1573      +/-   ##
==========================================
- Coverage   90.31%   90.30%   -0.01%     
==========================================
  Files          65       65              
  Lines       10057    10050       -7     
==========================================
- Hits         9083     9076       -7     
  Misses        974      974              
Files with missing lines Coverage Δ
src/frontend/Ast.ml 76.80% <100.00%> (+0.12%) ⬆️
src/frontend/Typechecker.ml 93.46% <100.00%> (+0.06%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -1,17 +1,12 @@
functions {
real jacobian(real x, int y) {
real foo_jacobian(real x, int y) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So jacobian as an identifier is removed now but _jacobian as a function suffix stays for one more release.
And we didn't have a test for function suffix deprecation?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, because we marked jacobian as reserved a version earlier while we were still designing the feature, so the _jacobian function idea hadn't come about yet.

@WardBrian WardBrian merged commit 8d78669 into master Dec 9, 2025
1 check passed
@WardBrian WardBrian deleted the jacobian-deprecation branch December 9, 2025 20:47
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.

2 participants