-
Notifications
You must be signed in to change notification settings - Fork 4
Fix: CheckerFramework version bump #393
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,9 @@ ext.versions = [ | |
| checkerFramework: "3.42.0-eisop5", | ||
| ] | ||
|
|
||
| //def checkerframework_local = true // Set this variable to [true] while using local version of checker framework. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think these can be removed, as nobody uses the variables. |
||
| //def CHECKERFRAMEWORK = "/home/billybai/code/vehiloco/local_CF" | ||
|
|
||
| dependencies { | ||
| implementation "io.github.eisop:checker:${versions.checkerFramework}" | ||
| implementation "io.github.eisop:checker-qual:${versions.checkerFramework}" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -64,7 +64,6 @@ public class MyClass1<T extends @AllowedAlgorithms({"a", "b", "c", "d"}) String> | |
| } | ||
|
|
||
| void testGlb1() { | ||
| // ::error: (assignment.type.incompatible) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the removed errors, can you instead say what the effective bound is? |
||
| MyClass1<? extends @AllowedAlgorithms({"a", "c", "e"}) String> f1 = new MyClass1<>(); | ||
| @AllowedAlgorithms({"a", "c"}) | ||
| String x = f1.key; | ||
|
|
@@ -78,7 +77,6 @@ public class MyClass2<T extends @Bottom String> { | |
| } | ||
|
|
||
| void testGlb2() { | ||
| // ::error: (assignment.type.incompatible) | ||
| MyClass2<? extends @AllowedAlgorithms("a") String> f2 = new MyClass2<>(); | ||
| @AllowedAlgorithms({"e"}) | ||
| String x = f2.key; | ||
|
|
@@ -89,7 +87,6 @@ public class MyClass3<T extends @AllowedProviders("a") String> { | |
| } | ||
|
|
||
| void testGlb3() { | ||
| // ::error: (assignment.type.incompatible) | ||
| MyClass3<? extends @AllowedAlgorithms("a") String> f3 = new MyClass3<>(); | ||
| @AllowedAlgorithms({"b"}) | ||
| String x = f3.key; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you look for all uses of the version string and update them together?