Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3965

Source code "var" issue

    XMLWordPrintableJSON

    Details

      Description

      var File[] = file.list();

      on editor: do no show any issue

      on action items: there is no issue visible about that

      on gradle: fails in compile

      on old-style project (Java with Ant > Java Application): run without issue, but if you explicitly try build you get "error: 'var' is not allowed as an element type of an array

        Attachments

          Activity

            People

            • Assignee:
              arusinha Arunava Sinha
              Reporter:
              nb-user-2019 Netbeans User 2019
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: