Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355979 - NoSuchFunctionError when generating a case statement for SignKind
Summary: NoSuchFunctionError when generating a case statement for SignKind
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 16:17 EDT by Brian Svihovec CLA
Modified: 2017-02-23 14:16 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 16:17:37 EDT
Create a program named P3 and add the source below.  The following exception is thrown when the part is being generated:

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)
	... 91 more

Source:

program P3 type BasicProgram {}
	function main()
		sign SignKind;
		case (sign)
			when(SignKind.leading)
		end
	end
	
end
Comment 1 Paul Harmon CLA 2011-09-13 14:32:56 EDT
I have fixed this by making Enumerations have a supertype of EGLAny. This required changes to Enumeration and EnumerationImpl.
Comment 2 Lisa Lasher CLA 2011-11-09 14:16:56 EST
This defect was fixed at least 2 months ago, so I am closing.