Skip to content

Fixed errors in BasicType - #3021

Merged
DavyLandman merged 4 commits into
mainfrom
fix/basictype
Nov 25, 2026
Merged

DavyLandman merged 4 commits into
mainfrom
fix/basictype

Conversation

@rodinaarssen

Copy link
Copy Markdown
Member

There were two cases of incorrect types in the BasicType implementation in the interpreter (for rational and set[void]). This PR fixes these, and makes the whole file slightly more internally consistent

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 14.28571% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 46%. Comparing base (4d10ecd) to head (75dfe25).

Files with missing lines Patch % Lines
src/org/rascalmpl/semantics/dynamic/BasicType.java 14% 36 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##              main   #3021   +/-   ##
=======================================
  Coverage       46%     46%           
- Complexity    6933    6937    +4     
=======================================
  Files          851     851           
  Lines        69376   69360   -16     
  Branches     10110   10110           
=======================================
+ Hits         32178   32180    +2     
+ Misses       34764   34746   -18     
  Partials      2434    2434           

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@rodinaarssen rodinaarssen left a comment

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.

I highlighted the main contributions here, to help navigate through the other changes

@jurgenvinju jurgenvinju left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great discoveries. How did this ever work?

@DavyLandman
DavyLandman merged commit 48ef38e into main Nov 25, 2026
8 of 9 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