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

Bug 492113

Summary: acorn parser should be initialized with the project options from .tern-project file
Product: [ECD] Orion Reporter: Olivier Thomann <Olivier_Thomann>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, Michael_Rennie
Version: 11.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Olivier Thomann CLA 2016-04-20 12:54:34 EDT
Right now the acorn parser is always using ecma6 option. But if a project sets the option to be ecma5 in its .tern-project file, the acorn parser should respect this setting.
Comment 2 Curtis Windatt CLA 2016-05-03 14:20:11 EDT
Reopening as this change was removed in the move to Tern 18.
Comment 3 Curtis Windatt CLA 2016-05-03 15:13:58 EDT
Returning to FIXED.  Turns out this issue was fixed for Tern 18, we are passing along the ecmaVersion to the parse already.