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

Pull PICO changes #108

Closed
wants to merge 31 commits into from
Closed

Conversation

xingweitian
Copy link

@xingweitian xingweitian commented Nov 20, 2019

This PR adapted @baoruiz's branch (pull-pico-changes) to the latest CF.

Close #83
Close #74

@@ -1343,7 +1348,7 @@ public void postAsMemberOf(
addAnnotationFromFieldInvariant(type, owner, (VariableElement) element);
}
addComputedTypeAnnotations(element, type);
if (viewpointAdapter != null) {
if (viewpointAdapter != null && type.getKind() != TypeKind.EXECUTABLE) {
Copy link
Author

Choose a reason for hiding this comment

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

What other uses of viewpointadapter are there in the class?

@@ -383,6 +400,48 @@ private boolean visited(AnnotatedTypeMirror atm) {
return res;
}

public AnnotationMirrorMap<AnnotationMirrorSet> reduce2(
Copy link
Author

Choose a reason for hiding this comment

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

Why?

@@ -20,7 +20,6 @@ void uses() {
newTree("hello").put("bye");

MyTree<@UnknownVal String> myTree1 = newTree("hello").put("bye");
// :: error: (assignment.type.incompatible)
Copy link
Author

Choose a reason for hiding this comment

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

Another PR

@xingweitian xingweitian removed their assignment Jun 17, 2020
@xingweitian
Copy link
Author

This can be closed after @lnsun's new pull requests have been merged.

d367wang pushed a commit to d367wang/checker-framework that referenced this pull request Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants