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: [email protected]
For additional commands, e-mail: [email protected]