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

Wrong hint on file using ES6 syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.2
    • None
    • javascript - Editor
    • None
    • Java 8, netbeans 8.2

    Description

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

      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
      })
      
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dusty Alessandro Polverini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: