Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336728 - Non-trivial in operator expression causes Error in JSDT Core during AST creation
Summary: Non-trivial in operator expression causes Error in JSDT Core during AST creation
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.2.3   Edit
Hardware: PC All
: P3 normal with 1 vote (vote)
Target Milestone: 3.2.4   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-09 11:10 EST by Paul Beusterien CLA
Modified: 2011-03-23 15:35 EDT (History)
0 users

See Also:


Attachments
if instanceof is Infix, so should in operator (2.47 KB, patch)
2011-02-09 11:12 EST, Paul Beusterien CLA
thatnitind: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Beusterien CLA 2011-02-09 11:10:01 EST
Load the js file:

function foo() {
  var str = 'ert';
  var x;
  x = 'al' +  str  in  window ; 
}
Comment 1 Paul Beusterien CLA 2011-02-09 11:12:38 EST
Created attachment 188594 [details]
if instanceof is Infix, so should in operator
Comment 2 Paul Beusterien CLA 2011-02-09 11:12:57 EST
Add proposed patch
Comment 3 Nitin Dahyabhai CLA 2011-03-23 15:35:06 EDT
Resolving.

Thanks, for the patch, Paul!