-
Notifications
You must be signed in to change notification settings - Fork 386
feat: Allow TraitAsType syntax to refer to associated constants in expressions #9041
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8784cb6
Write some new bugs
jfecher 8bce44d
Debugging
jfecher d9d4ea3
Re-add TraitItemId
jfecher 99cf1ae
Minor changes
jfecher cabfdf3
Add debug lines
jfecher f17e241
Fix errors in stdlib
jfecher ab27430
Only 'trait_bounds_which_are_dependent...' is failing now, the bounds…
jfecher 37cb7e9
It works
jfecher 78f74ab
Ignore new test in nargo expand
jfecher 22f8da3
Format
jfecher 1900d26
Merge branch 'master' into jf/assoc-consts
jfecher 87fe1a8
Apply suggestions from code review
jfecher 5d70a6c
Update test_programs/compile_success_empty/comptime_function_definiti…
jfecher a530cd0
Update expect message
asterite b32fa9b
Update `populate_dummy_operator_traits`
asterite 06cf01e
Follow bindings in error field
asterite a32c8d3
Use correct `trait_it` when looking up trait method
asterite 860816b
Test associated constant of generic with constraint
asterite af5ffa5
Reduce number of lines
asterite 3a432a0
More lines reduction
asterite 934acb5
Remove extra line
asterite a560ed7
Make sure it works in comptime
asterite d16d5e4
Add a few more comments
asterite 12c6abe
Bring back check
asterite 765b007
resolve_trait_method_expr -> resolve_trait_item_expr
asterite 889fee8
No need for method to be pub
asterite 5665fc2
A couple more pub -> pub(crate)
asterite 41d25ee
Merge branch 'master' into jf/assoc-consts
asterite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.