Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355971 - NoSuchFunctionError when generating a Binary Expression with a Handler
Summary: NoSuchFunctionError when generating a Binary Expression with a Handler
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 14:40 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:14 EST (History)
1 user (show)

See Also:


Attachments

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