You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Reema Taneja (JIRA)" <ji...@apache.org> on 2018/05/08 05:30:00 UTC
[jira] [Created] (NETBEANS-774) Convert var to explicit type hint
should be disabled for anonymous type ret type
Reema Taneja created NETBEANS-774:
-------------------------------------
Summary: 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
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-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists