Bug 11380

Summary: ast: missing binding for ConditionalExpression
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Adam Kiezun CLA 2002-03-14 13:30:59 EST
package p;
class A {
	void f(int y){
		int i= (y==7) ? 1 :2 ;
	}	
}

the ConditionalExpression answers null to resolveTypeBinding
Comment 1 Olivier Thomann CLA 2002-03-14 14:08:04 EST
Fixed and released in HEAD. It now returns an type binding for "int".