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

Extraneous eval in iterator macro #137

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

ReubenJ
Copy link
Member

@ReubenJ ReubenJ commented Feb 18, 2025

This evaluation was causing precompilation failures when attempting to use the @programiterator macro in external packages such as the Garden. I believe its inclusion actually makes the check (that checks whether the supertype is a subtype of ProgramIterator) incorrect.

I also added a test for the case when the macro is used incorrectly.

This evaluation was causing precompilation failures when attempting
to use the `@programiterator` macro in external packages such as
the `Garden`. I believe its inclusion actually makes the check for
the supertype being a subtype of `ProgramIterator` incorrect.
@ReubenJ ReubenJ added the bug Something isn't working label Feb 18, 2025
@ReubenJ ReubenJ requested a review from THinnerichs February 18, 2025 16:04
@ReubenJ ReubenJ self-assigned this Feb 18, 2025
Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.22%. Comparing base (8fe642a) to head (62a4214).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
- Coverage   71.26%   71.22%   -0.05%     
==========================================
  Files          20       19       -1     
  Lines         689      688       -1     
==========================================
- Hits          491      490       -1     
  Misses        198      198              

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

@THinnerichs
Copy link
Member

Good job! This works very well indeed.

@THinnerichs THinnerichs merged commit e1dae7b into master Feb 18, 2025
5 checks passed
@THinnerichs THinnerichs deleted the bug/extraneous-eval-in-iterator-macro branch February 18, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants