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

Workaround for the logic issue of AnnotatedTypes.asMemberOf #50

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

d367wang
Copy link
Contributor

@d367wang d367wang commented Apr 16, 2021

As mentioned in opprop/checker-framework-inference#310, there are some logic issues with AnnotatedTypes.asMemberOf which annotates methods of a parameterized type. The VarAnno created for the parameterized type argument is missing.

In this PR, a general default qualifier is specified to work around this so that if the previous annotators don't add any annotation, the default applier will add one to make sure constraints can be created.

The newly-added test file ParameterizedTypeTest.java is to ensure that the workaround works.

Identical to #49, except being named samely as opprop/checker-framework-inference#313

@d367wang d367wang changed the title related ontology pull request for checker-framework-inference CI Workaround for the logic issue of AnnotatedTypes.asMemberOf Jul 22, 2021
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.

3 participants