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

Bug 350746

Summary: Operators which should be found are not found
Product: z_Archived Reporter: Matt Heitz <mheitz>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Matt Heitz CLA 2011-06-29 16:26:23 EDT
Try compiling this code.
	a float;
	a = a * 100;
There's an error on the * expression, as if the function for * isn't found.  But it's right there in SimpleTypes.egl.
Comment 1 Paul Harmon CLA 2011-07-07 12:19:43 EDT
This turned out to be a type in the operation definition in Float64 and Float32 in org.eclipse.edt.compiler\eglsource\egl\lang\SimpleTypes.egl

The definition for the binary minus was defined with @Operation{"*"}


This was causing the code to think there were 2 operations for multiply, and so it returned a null.

I have updated the EGL source and the edtCompiler.eglar files to fix this problem.
Comment 2 Matt Heitz CLA 2011-07-07 12:54:46 EDT
"This turned out to be a type" ... you get extra credit for making a typo in the word typo.
Comment 3 Matt Heitz CLA 2011-07-07 16:20:33 EDT
Verified.