[ 
https://issues.apache.org/jira/browse/NETBEANS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

vikas kumar prabhakar resolved NETBEANS-465.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: Next

The hints "Split into declaration and assignment" is discarded for var type 
variables.

Code change details : https://github.com/apache/incubator-netbeans/pull/453

 

> Hint "Split into declaration and assignment" is not valid for var type.
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-465
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-465
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: vikas kumar prabhakar
>            Assignee: vikas kumar prabhakar
>            Priority: Trivial
>              Labels: JDK10-LVTI
>             Fix For: Next
>
>
> Warning hint "Split into declaration and assignment" is not valid for var 
> type.
> var v = 10;
> Only declaration the var type variable causes the errors:
> var v; -> cannot infer type for local variable v
>    (cannot use 'var' on variable without initializer)
> The hints "Split into declaration and assignment" should not show for var 
> type declaration and assignments.



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

Reply via email to