mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8005244: Implement overload resolution as per latest spec EDR
Add support for stuck expressions and provisional applicability Reviewed-by: jjg
This commit is contained in:
parent
e5aa886e8b
commit
442154dcf9
58 changed files with 794 additions and 457 deletions
|
@ -149,8 +149,7 @@ public class SamConversionComboTest {
|
|||
return false; //ambiguous target type
|
||||
}
|
||||
else if(lambdaBody == LambdaBody.IMPLICIT) {
|
||||
if(returnValue != ReturnValue.INTEGER) //ambiguous target type
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
else { //explicit parameter type
|
||||
if(fInterface.getParameterType().equals("Integer")) //ambiguous target type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue