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

Bug 450181

Summary: Syntax error not flagged
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: libingw, Michael_Rennie
Version: 7.0   
Target Milestone: 8.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-11-05 11:54:19 EST
1. Paste this code into a .js file

/*eslint no-unused-vars:0*/
function f() {
    return { foo: "a" ; };
}                  // ^ broken here

2. The extra semicolon causes a runtime error but the validator does not flag it.