Skip to content

More precise use-defs#2801

Open
sungshik wants to merge 4 commits into
mainfrom
more-precise-usedefs2
Open

More precise use-defs#2801
sungshik wants to merge 4 commits into
mainfrom
more-precise-usedefs2

Conversation

@sungshik

@sungshik sungshik commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This PR updates define and defineInScope calls based on usethesource/typepal#48 in the Rascal typechecker to compute more precise use-def relations. Due to earlier preparatory work in #2770, essentially the only changes of this PR are rewrites of the form: define("<tree>", ...) -> define(tree, ...).

The integration test succeeds (in combination with companion PR usethesource/rascal-language-servers#1113).

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (db87bc1) to head (5366e23).

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #2801   +/-   ##
=======================================
- Coverage       46%     46%   -1%     
- Complexity    6723    6724    +1     
=======================================
  Files          839     839           
  Lines        66766   66766           
  Branches      9983    9983           
=======================================
- Hits         30781   30777    -4     
- Misses       33598   33601    +3     
- Partials      2387    2388    +1     

☔ 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.

@sungshik sungshik marked this pull request as ready for review June 10, 2026 21:29
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.

1 participant