Bug 3340

Summary: UnaryExpression doesn't store expression type in bit mask (1GLBOJZ)
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: CoreAssignee: Philipe Mulet <philippe_mulet>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M1   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Dirk Baeumer CLA 2001-10-10 22:53:30 EDT
The UnaryExpression, in contrast to the BinaryExpression, doesn't store the computed expression type in the bit mask.

The following line seems to be missing

		int result = ResolveTypeTables[tableId][(expressionId << 4) + expressionId];
		expression.implicitConversion = result >>> 12;
		TypeBinding type;
		bits |= result & 0xF;																												<==== missing statement.
		switch (result & 0x0000F) { // only switch on possible result type.....



NOTES:
Comment 1 Philipe Mulet CLA 2001-10-12 06:35:09 EDT
Fixed in 204
Comment 2 DJ Houghton CLA 2001-10-29 17:10:52 EST
PRODUCT VERSION:
203