mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8002099: Add support for intersection types in cast expression
Add parser and type-checking support for intersection types in cast expressions Reviewed-by: jjg
This commit is contained in:
parent
c76c08e82a
commit
d7884e5ae2
38 changed files with 1873 additions and 229 deletions
|
@ -246,6 +246,11 @@ public interface Tree {
|
|||
*/
|
||||
UNION_TYPE(UnionTypeTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link IntersectionTypeTree}.
|
||||
*/
|
||||
INTERSECTION_TYPE(IntersectionTypeTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link TypeCastTree}.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue