|Type resolution issue [message #547835]
||Mon, 19 July 2010 18:07
| Dominic Renaud
Registered: July 2009
I'm trying to set up a Xtend file to handle some model reading operations, and I am getting an odd set of errors. Here's the code in question:|
List[bpmn::NamedBpmnObject] dereferenceElement(bpmn::BpmnDiagram container, String reference):
if (reference.compareTo('') == 0) then
let splitString = reference.split('::') :
container.pools.select(pool|pool.name.matches (splitString.first())).findElementInPool(splitString.remove( splitString.first()).toList());
It was essentially copied and modified from AMPLE's VML4Arch project, in case anyone finds it familiar.
Anyway, the issue is that the "pool.name.matches (splitstring.first())" call gives the error: For that matter, every instance of "matches" has the following error:
"Couldn't find operation 'matches (String)' for type 'type::String'"
I'm using Eclipse 3.5, OAW 4.3.1, and if it matters, Epsilon 0.8.9
Thanks in Advance.
[Updated on: Tue, 20 July 2010 22:07]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01889 seconds