Skip to content
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

Validate return types correctly. #4844

Merged
merged 3 commits into from Jul 29, 2021
Merged

Conversation

smillst
Copy link
Member

@smillst smillst commented Jul 28, 2021

No description provided.

@@ -471,6 +472,14 @@ protected void visitTypeParameterBounds(
case TYPE_PARAMETER:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Javadoc for the containing method twice says "type parameter tree" and once says "parameter type tree". Please make them consistent.

@mernst mernst assigned smillst and unassigned mernst Jul 28, 2021
@smillst smillst merged commit 77a7c93 into typetools:master Jul 29, 2021
@smillst smillst deleted the validate-return branch July 29, 2021 19:10
wmdietl pushed a commit to eisop/checker-framework that referenced this pull request Aug 3, 2021
wmdietl pushed a commit to eisop/checker-framework that referenced this pull request Aug 3, 2021
cpovirk added a commit to jspecify/jspecify that referenced this pull request Dec 28, 2021
…its.

I suspect that our prototype checker's behavior for such mismatches is
fixed by typetools/checker-framework#4844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants