[ https://issues.apache.org/jira/browse/NETBEANS-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reema Taneja updated NETBEANS-774: ---------------------------------- Labels: JDK10-LVTI (was: ) > 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 > > 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: 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