Community
Participate
Working Groups
Build Identifier: 0.7 EGL code longStr = "123456789"; shortStr = "abc"; longStr[2:4] = shortStr; desiredResult = "1abc56789"; SysLib.writstdout("results" + (longStr == desiredResult) ); JavaGen & JavaScript produce this error IWN.JavaGen.9998.e 0/0 Exception occurred: No such method genAssignment(org.eclipse.edt.mof.egl.impl.SubstringAccessImpl, org.eclipse.edt.gen.java.Context, org.eclipse.edt.mof.codegen.api.TabbedWriter, org.eclipse.edt.mof.egl.impl.MemberNameImpl, java.lang.String, ) for any template for Class org.eclipse.edt.mof.egl.impl.SubstringAccessImpl Reproducible: Always Steps to Reproduce: 1. write the function above 2. save the file 3.
After talking to Tim, I understand the decision hasn't been made about including this assignment behavior. I'll let you decide what needs to happen to the defect.
A decision was made to not allow substring on the lhs of an assignment, so this is not valid syntax to support.
not supported