This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269659 - Wrong "Duplicate name of property" hint
Summary: Wrong "Duplicate name of property" hint
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: arusinha
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-26 17:57 UTC by dusty
Modified: 2017-03-24 03:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dusty 2017-01-26 17:57:58 UTC
The following code gives the warning 'Duplicate name of property "model"', on the line "model(params) {", and it clearly should not.

import Ember from 'ember'
export default Ember.Route.extend({

  setupController(controller, model) {
  },

  model(params) {
  }

})
Comment 2 Quality Engineering 2017-03-17 02:50:07 UTC
Integrated into 'main-silver', will be available in build *201703170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b19089bdcd4f
User: Arusinha <arusinha@netbeans.org>
Log: #269659: handled cases wherein property type function doesnot start with keyword function