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

Remove implicit bottom checks #46

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

Conversation

zcai1
Copy link
Contributor

@zcai1 zcai1 commented Mar 25, 2022

With the changes introduced in opprop/checker-framework#207 and opprop/checker-framework-inference#394, we are able to remove all implicit bottom checks and use the underlying CF implementation instead. This PR also adds @UpperBoundFor with proper definition to @Bottom in this type system.

@@ -79,25 +75,10 @@ public Void visitArray(AnnotatedTypeMirror.AnnotatedArrayType type, Tree tree) {
return super.visitArray(type, tree);
}

@Override
public Void visitPrimitive(AnnotatedTypeMirror.AnnotatedPrimitiveType type, Tree tree) {
if (checkTopLevelDeclaredOrPrimitiveType) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

check if inference validator has the proper logic

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