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

Bug 340756

Summary: [validation] False syntax error in with (x) var y;
Product: [WebTools] JSDT Reporter: Viktor Pracht <Viktor.Pracht>
Component: GeneralAssignee: Victor Rubezhny <vrubezhny>
Status: RESOLVED FIXED QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3 CC: vrubezhny
Version: unspecified   
Target Milestone: 3.5.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Viktor Pracht CLA 2011-03-23 09:42:47 EDT
Build Identifier: M20110210-1200

In the following code snippet, "var" is marked as a syntax error, although it is valid JavaScript:


with (x) var y;


Reproducible: Always