-
Notifications
You must be signed in to change notification settings - Fork 189
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
fix(parser): fixes for the parsing of 'where' clauses #2430
Merged
jfecher
merged 12 commits into
noir-lang:master
from
metacraft-labs:nickysn/parser_fixes_for_where_clause
Aug 28, 2023
Merged
fix(parser): fixes for the parsing of 'where' clauses #2430
jfecher
merged 12 commits into
noir-lang:master
from
metacraft-labs:nickysn/parser_fixes_for_where_clause
Aug 28, 2023
Commits on Aug 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2f8d7bb - Browse repository at this point
Copy the full SHA 2f8d7bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f56339 - Browse repository at this point
Copy the full SHA 0f56339View commit details -
refactor(parser): where_trait_bounds() renamed trait_bounds()
The parser function where_trait_bounds() was renamed trait_bounds(). Rationale: The same function can later be used for parsing 'impl TraitX+TraitY' as function parameters or return values. They contain trait bounds, without using the keyword 'where'. No functional changes.
Configuration menu - View commit details
-
Copy full SHA for 1f00ea6 - Browse repository at this point
Copy the full SHA 1f00ea6View commit details -
refactor(parser): where_trait_bound() renamed trait_bound()
The function where_trait_bound was renamed trait_bound. Rationale: Same as previous commit. No functional changes.
Configuration menu - View commit details
-
Copy full SHA for d381599 - Browse repository at this point
Copy the full SHA d381599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10d667d - Browse repository at this point
Copy the full SHA 10d667dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f900f34 - Browse repository at this point
Copy the full SHA f900f34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e7b590 - Browse repository at this point
Copy the full SHA 2e7b590View commit details -
Configuration menu - View commit details
-
Copy full SHA for a95e10c - Browse repository at this point
Copy the full SHA a95e10cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abdc1e - Browse repository at this point
Copy the full SHA 7abdc1eView commit details
Commits on Aug 26, 2023
-
refactor(parser): simplify the TraitConstraint structure
Simplify the TraitConstraint structure by making it hold only a single trait bound, instead of a vector of trait bounds. Previously, the vector would represent constraints, containing multiple traits, concatenated with '+', such as 'where Foo: Display + TraitX + TraitY<U, V>'. Now this is simplified in the parser to several constraints, containing only a single bound: 'Foo: Display', 'Foo: TraitX', 'Foo: TraitY<U, V>'
Configuration menu - View commit details
-
Copy full SHA for fd489e1 - Browse repository at this point
Copy the full SHA fd489e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf7c23 - Browse repository at this point
Copy the full SHA cbf7c23View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4ac54b - Browse repository at this point
Copy the full SHA d4ac54bView commit details
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.