Bug 11380 - ast: missing binding for ConditionalExpression
Summary: ast: missing binding for ConditionalExpression
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-14 13:30 EST by Adam Kiezun CLA
Modified: 2002-03-14 14:08 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".