Bug 492913 - "Duplicate object key" quick fix should also rename a named function
Summary: "Duplicate object key" quick fix should also rename a named function
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: 12.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 12.0   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-03 13:11 EDT by Michael Rennie CLA
Modified: 2016-05-05 20:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2016-05-03 13:11:09 EDT
Consider the following snippet:

var obj = {
  one: function(){},
  one: function one() {}
};

if you activate the quickfix on the second 'one' it should also rename the function name part (the 'one' after the function keyword).
Comment 1 Olivier Thomann CLA 2016-05-05 20:27:37 EDT
Delivered.