Skip to content

backend: raise error for infinite register clash during class definition#5661

Open
superlopuh wants to merge 1 commit intomainfrom
sasha/backend/register-type-inf-class-def
Open

backend: raise error for infinite register clash during class definition#5661
superlopuh wants to merge 1 commit intomainfrom
sasha/backend/register-type-inf-class-def

Conversation

@superlopuh
Copy link
Member

It feels weird to raise an error only on the first time that a register from the infinite set is greated, this PR changes the mechanism to instead raise during class definition.

Also adds a bit of documentation for this.

@superlopuh superlopuh self-assigned this Feb 13, 2026
@superlopuh superlopuh added the backend Compiler backend in xDSL label Feb 13, 2026
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.26%. Comparing base (2ec6429) to head (e5e3cd6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5661   +/-   ##
=======================================
  Coverage   86.26%   86.26%           
=======================================
  Files         403      403           
  Lines       56881    56875    -6     
  Branches     6565     6564    -1     
=======================================
- Hits        49068    49065    -3     
+ Misses       6282     6280    -2     
+ Partials     1531     1530    -1     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Compiler backend in xDSL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant