You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "vikas kumar prabhakar (JIRA)" <ji...@apache.org> on 2018/03/14 06:50:00 UTC
[jira] [Updated] (NETBEANS-465) Hint "Split into declaration and
assignment" is not valid for var type.
[ 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-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