-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Check implicitNotFound annotations for invalid type variable references #9430
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
Check implicitNotFound annotations for invalid type variable references #9430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, and thank you for opening this PR! 🎉
All contributors have signed the CLA, thank you! ❤️
Have an awesome day! ☀️
3fe124c
to
9475519
Compare
In your commit message "Closes #44008"" should be "Fixes #4408" to get github to automatically close the issue when the PR is merged. |
e2e292b
to
61da3d2
Compare
NB IIRC scala2 checks this under
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the wait, this PR slipped my mind! Overall this looks nice, one extra remark: Dottydoc supports markdown, so it'd be nice to rewrite the comments to use that instead of wiki syntax.
dbb9602
to
99c1362
Compare
Both, annotated function arguments and annotated classes / traits, are now checked for invalid type variable references and warn at declaration site.
99c1362
to
b177971
Compare
Implements the behavior requested in #4008.
Trees which are checked:
Template
s (classes and traits)DefDef
s (including constructors)