Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: simplify TypedAttribute #3487

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

alexarice
Copy link
Collaborator

@alexarice alexarice commented Nov 20, 2024

Changes parse_with_type from a classmethod to a staticmethod allowing a stricter type constraint to be put on the input type and allowing the removal of a cast and pyright suppression

@alexarice alexarice self-assigned this Nov 20, 2024
@alexarice alexarice added minor For minor PRs, easy and quick to review, quickly mergeable core xDSL core (ir, textual format, ...) labels Nov 20, 2024
Copy link

codecov bot commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.29%. Comparing base (59e59ad) to head (9e9b34e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3487   +/-   ##
=======================================
  Coverage   90.29%   90.29%           
=======================================
  Files         462      462           
  Lines       57937    57937           
  Branches     5566     5566           
=======================================
  Hits        52313    52313           
  Misses       4189     4189           
  Partials     1435     1435           

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


🚨 Try these New Features:

@alexarice alexarice merged commit 178e3aa into main Nov 20, 2024
15 checks passed
@alexarice alexarice deleted the alexarice/typed-attribute-simpl branch November 20, 2024 11:46
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
Changes `parse_with_type` from a classmethod to a staticmethod allowing
a stricter type constraint to be put on the input type and allowing the
removal of a cast and pyright suppression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core xDSL core (ir, textual format, ...) minor For minor PRs, easy and quick to review, quickly mergeable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants