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

Pass testinput/typecheck/OnlyOneModifierIsUse.java #6

Merged

Conversation

xingweitian
Copy link
Contributor

This PR uses the right error key to pass the test.

We check that if there is more than one annotation from the same hierarchy. So @Readonly @Immutable is wrong. The corresponding error key is type.invalid.conflicting.annos, not type.invalid.

@xingweitian xingweitian merged commit 505dcf8 into opprop:adapt-to-cf-master Aug 17, 2019
@xingweitian xingweitian deleted the xwt-fix-test-cases branch August 17, 2019 21:52
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.

2 participants