[
https://issues.apache.org/jira/browse/NETBEANS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
vikas kumar prabhakar closed NETBEANS-807.
------------------------------------------
Issue is closed because no suggestion hint is require in invalid lambda
parameter list.
> New Error Rule required for fixing invalid lambda expression parameters in
> JDK-11
> ---------------------------------------------------------------------------------
>
> Key: NETBEANS-807
> URL: https://issues.apache.org/jira/browse/NETBEANS-807
> Project: NetBeans
> Issue Type: Improvement
> Reporter: Reema Taneja
> Assignee: vikas kumar prabhakar
> Priority: Major
> Labels: JDK11-VarInLambda
>
> IntBinaryOperator f3 = (int x, var y) -> x + y;
> Displays below error
> (cannot mix 'var' and explicitly-typed parameters)
> Proposed Error Rule would do the below fix
> IntBinaryOperator f3 = (var x, var y) -> x + y;
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists