mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7177385: Add attribution support for lambda expressions
Add support for function descriptor lookup, functional interface inference and lambda expression type-checking Reviewed-by: jjg, dlsmith
This commit is contained in:
parent
c0e2ed86c1
commit
72f39bf20c
41 changed files with 1847 additions and 189 deletions
|
@ -376,7 +376,7 @@ public class CheckAttributedTree {
|
|||
that.hasTag(CLASSDEF);
|
||||
}
|
||||
|
||||
private final List<String> excludedFields = Arrays.asList("varargsElement");
|
||||
private final List<String> excludedFields = Arrays.asList("varargsElement", "targetType");
|
||||
|
||||
void check(boolean ok, String label, Info self) {
|
||||
if (!ok) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue