Community
Participate
Working Groups
QVT defines String::+ as a synonym for String::concat, therefore a lookup for + yields the concat function. Unfortunately AbstractOCLAnalyzer.genOperationCall fails to support synonyms. If after a successful: O oper = lookupOperation(operationCallExpCS, env, ownerType, operName, args); the actual name is either enforced using: operName = uml.getName(oper); or at least used in opcode = OCLStandardLibraryUtil.getOperationCode(uml.getName(oper)); ... opcode = OCLStandardLibraryUtil.getOclAnyOperationCode(uml.getName(oper)); the inconsitent selection of opcode would be avoided.
Suggested fix committed to HEAD.
Fix is available in the 1.3 M2 build.
Closing after over a year in verified state.