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: [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

Reply via email to