Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 477410

Summary: [quickfix] Remove unused parameter does not clean up the corresponding entry in require call
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 10.0   
Target Milestone: 10.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2015-09-14 17:41:32 EDT
Consider the following snippet:

/*eslint-env node */
require(['foo/bar'], 
	function(a) {
	}
);

if you try to remove the unused param, the param is removed (OK), but we fail to clean up the corresponding entry in the path array like we do in define calls.