Repository navigation
fix nary type inference for scopes - #1423
Merged
Merged
Conversation
simonwkla
force-pushed
the
fix/1422-nary-scope
branch
4 times, most recently
from
April 15, 2025 19:42
8a7fbef to
8986148
Compare
simonwkla
force-pushed
the
fix/1422-nary-scope
branch
from
April 15, 2025 20:02
8986148 to
58fcfa2
Compare
simonwkla
marked this pull request as ready for review
April 15, 2025 20:18
ssalbdivad
requested changes
Apr 15, 2025
ssalbdivad
left a comment
Member
There was a problem hiding this comment.
This is perfect! I just have a couple recommendations for simplifying:
-
You can just test the scoped cases as it's a superset of the unscoped cases (i.e. you can remove
3-aryand just keep3-ary with scopeand probably remove the with-scope suffix) -
Instead of defining the scope in each test, you can use a
contextualize.eachblock like this to set up a scope once you use for all the tests. This would be equivalent to just defining the scope at the module-level but in case something fails during the scope parsing, it doesn't cause all your tests not to run at all.
…plify by using contextualize.each
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #1422
$to all nary type inference.