[
https://issues.apache.org/jira/browse/NETBEANS-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated NETBEANS-774:
------------------------------------
Labels: JDK10-LVTI pull-request-available (was: JDK10-LVTI)
> Convert var to explicit type hint should be disabled for anonymous type ret
> type
> --------------------------------------------------------------------------------
>
> Key: NETBEANS-774
> URL: https://issues.apache.org/jira/browse/NETBEANS-774
> Project: NetBeans
> Issue Type: Bug
> Reporter: Reema Taneja
> Assignee: Reema Taneja
> Priority: Major
> Labels: JDK10-LVTI, pull-request-available
>
> void m(){
> var v = get(new Object(){});
> // TODO code application logic here
> }
>
> <Z> Z get (Z z) {
> return z;
> }
> Convert to explicit type converts statement to below which is incorrect. Need
> to add type check for anonymous types.
> javaapplication21.JavaApplication21$1 v = get(new Object(){});
--
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