[ 
https://issues.apache.org/jira/browse/NETBEANS-807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541202#comment-16541202
 ] 

vikas kumar prabhakar commented on NETBEANS-807:
------------------------------------------------

As discussed , in above error scenario the suggestion hint should discard.

> 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: ARUNAVA SINHA
>            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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to