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

Bug 336728

Summary: Non-trivial in operator expression causes Error in JSDT Core during AST creation
Product: [WebTools] JSDT Reporter: Paul Beusterien <paul.beusterien>
Component: GeneralAssignee: Nitin Dahyabhai <thatnitind>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3    
Version: 3.2.3   
Target Milestone: 3.2.4   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
if instanceof is Infix, so should in operator thatnitind: iplog+

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!