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/07/17 09:19:00 UTC
[jira] [Closed] (NETBEANS-774) Convert var to explicit type hint
should be disabled for anonymous type ret type
[ https://issues.apache.org/jira/browse/NETBEANS-774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reema Taneja closed NETBEANS-774.
---------------------------------
Resolution: Fixed
> 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
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> 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