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

Bug 355971

Summary: NoSuchFunctionError when generating a Binary Expression with a Handler
Product: z_Archived Reporter: Brian Svihovec <svihovec>
Component: EDTAssignee: Project Inbox <edt.mofmodel-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pharmon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brian Svihovec CLA 2011-08-26 14:40:46 EDT
Create a RUIWidget named BinaryResolveOp and add the source included below.  When you save the widget you will get the following exception:

Caused by: org.eclipse.edt.mof.egl.NoSuchFunctionError
	at org.eclipse.edt.mof.egl.impl.BinaryExpressionImpl.resolveOperation(BinaryExpressionImpl.java:61)
	at org.eclipse.edt.mof.egl.impl.MultiOperandExpressionImpl.getOperation(MultiOperandExpressionImpl.java:43)
	... 94 more

EGL Source:

handler BinaryResolveOp type RUIWidget {onConstructionFunction = start, cssFile="css/JSTestProject.css"}
	
	var1 BinaryResolveOp[];
	
	function start()
	end	
	
	function testFunc(param1 BinaryResolveOp in)
		if (var1[1] != param1)
		end
	end
end
Comment 1 Paul Harmon CLA 2011-08-26 17:37:06 EDT
I have updated IRUtils to resolve to the appropriate operation in this case.
Comment 2 Lisa Lasher CLA 2011-11-09 14:17:01 EST
This defect was fixed at least 2 months ago, so I am closing.