You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Alessandro Polverini (JIRA)" <ji...@apache.org> on 2017/12/18 16:35:00 UTC

[jira] [Created] (NETBEANS-218) Wrong hint on file using ES6 syntax

Alessandro Polverini created NETBEANS-218:
---------------------------------------------

             Summary: Wrong hint on file using ES6 syntax
                 Key: NETBEANS-218
                 URL: https://issues.apache.org/jira/browse/NETBEANS-218
             Project: NetBeans
          Issue Type: Bug
          Components: javascript - Editor
    Affects Versions: 8.2
         Environment: Java 8, netbeans 8.2
            Reporter: Alessandro Polverini


Let's consider the following snippet taken from a standard ember js app:

{code:javascript}
import Application from '@ember/application'
import Resolver from './resolver'
import loadInitializers from 'ember-load-initializers'
import config from './config/environment'

const App = Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver
})

{code}

In the two lines that use the "Resolver" variable I get the hint "Unused", while that's clearly not true.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org