forked from typetools/checker-framework-inference
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add subtype constraint in Inference type Hierarchy
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package interning.qual: | ||
annotation @UnknownInterned: | ||
|
||
package interning.qual: | ||
annotation @PolyInterned: | ||
|
||
package interning.qual: | ||
annotation @Interned: | ||
|
||
package : | ||
class MapAssignment: | ||
field a: | ||
insert-annotation Variable.type, ParameterizedType.type: @interning.qual.UnknownInterned | ||
|
||
field b: | ||
insert-annotation Variable.type, ParameterizedType.type: @interning.qual.UnknownInterned | ||
insert-annotation Variable.type, ParameterizedType.typeArgument 1: @interning.qual.Interned | ||
|
||
method <init>()V: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters