-
Notifications
You must be signed in to change notification settings - Fork 17
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
Improve the check_generics
pass
#515
Conversation
Other features I'd like to eventually add to this pass:
|
Checking that I understand what you are doing: the |
Correct
This is pretty much what I did before, you can see the diff in the PR. The problem is that this requires manually listing every spot where a This would have been fine if it was just for this pass, but #127 requires something similar and even more subtle, hence why I came up with this imo very pleasing solution. |
That makes sense, thanks for the explanations! |
This does a few things to improve the
check_generics
pass:GenericArgs
what item it applies to. This greatly simplifies the pass and will be a tremendous help for Hide associated types equality constraints #127;