Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » openArchitectureWare » Type resolution issue
Type resolution issue [message #547835] Mon, 19 July 2010 18:07
Dominic Renaud is currently offline Dominic RenaudFriend
Messages: 16
Registered: July 2009
Junior Member
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('::') :| (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 " (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

Previous Topic:Re: Test
Next Topic:Type resolution issue
Goto Forum:

Current Time: Mon Nov 19 01:09:28 GMT 2018

Powered by FUDForum. Page generated in 0.02057 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top