[ https://issues.apache.org/jira/browse/NETBEANS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
vikas kumar prabhakar updated NETBEANS-465: ------------------------------------------- Description: 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. was: 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. > 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 > > 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