vikas kumar prabhakar created NETBEANS-465:
----------------------------------------------

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


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