Community
Participate
Working Groups
* Create a file named DelegateTest.egl. * Add the following EGL Code: program DelegateTest type BasicProgram {} retrieveValidStateHelper MVCValidStateRetriever {}; function main() if(this.retrieveValidStateHelper != null) end end end Delegate MVCValidStateRetriever() returns(String?) end * When you save and generate the file, the following message is displayed: - IWN.JavaGen.9999.e 11/154 Stack Trace: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError - IWN.JavaGen.9998.e 11/154 Exception occurred: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError This appears to be thrown on line 61 of BinaryExpressionImpl.java, due to the fact that IRUtils.getBinaryOperation returns null.
I have updated the operation resolution code to support Delegates
Closing this defect.