Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon] String wrapping under -> and .
[Epsilon] String wrapping under -> and . [message #383596] Thu, 15 May 2008 16:58 Go to next message
Aleksander Bandelj is currently offline Aleksander BandeljFriend
Messages: 98
Registered: July 2009
Member
There is a strange difference how PointExecutor and ArrowExecutor treat
Strings. For example:

var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};

colorNames->indexOf('red').println(); -- Java String, identity
comparison, prints -1
colorNames.indexOf('red').println(); -- EOLString, equality comparison,
prints 4


-a
Re: [Epsilon] String wrapping under -> and . [message #383598 is a reply to message #383596] Thu, 15 May 2008 18:00 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Aleksander,

Could you please open a bug report for this? I'll investigate asap and
get back to you.

Cheers,
Dimitrios

Aleksander Bandelj wrote:
> There is a strange difference how PointExecutor and ArrowExecutor treat
> Strings. For example:
>
> var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};
>
> colorNames->indexOf('red').println(); -- Java String, identity
> comparison, prints -1
> colorNames.indexOf('red').println(); -- EOLString, equality comparison,
> prints 4
>
>
> -a
Re: [Epsilon] String wrapping under -> and . [message #383601 is a reply to message #383598] Fri, 16 May 2008 20:19 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Aleksander,

Thanks for reporting this! I've located the bug and fixed it in the CVS.
We'll release the next version (1.3.4) and close the bug report
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=232457) shortly.

Cheers,
Dimitrios

Dimitrios Kolovos wrote:
> Hi Aleksander,
>
> Could you please open a bug report for this? I'll investigate asap and
> get back to you.
>
> Cheers,
> Dimitrios
>
> Aleksander Bandelj wrote:
>> There is a strange difference how PointExecutor and ArrowExecutor
>> treat Strings. For example:
>>
>> var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};
>>
>> colorNames->indexOf('red').println(); -- Java String, identity
>> comparison, prints -1
>> colorNames.indexOf('red').println(); -- EOLString, equality
>> comparison, prints 4
>>
>>
>> -a
Re: [Epsilon] String wrapping under -> and . [message #617636 is a reply to message #383596] Thu, 15 May 2008 18:00 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Aleksander,

Could you please open a bug report for this? I'll investigate asap and
get back to you.

Cheers,
Dimitrios

Aleksander Bandelj wrote:
> There is a strange difference how PointExecutor and ArrowExecutor treat
> Strings. For example:
>
> var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};
>
> colorNames->indexOf('red').println(); -- Java String, identity
> comparison, prints -1
> colorNames.indexOf('red').println(); -- EOLString, equality comparison,
> prints 4
>
>
> -a
Re: [Epsilon] String wrapping under -> and . [message #617640 is a reply to message #383598] Fri, 16 May 2008 20:19 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Aleksander,

Thanks for reporting this! I've located the bug and fixed it in the CVS.
We'll release the next version (1.3.4) and close the bug report
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=232457) shortly.

Cheers,
Dimitrios

Dimitrios Kolovos wrote:
> Hi Aleksander,
>
> Could you please open a bug report for this? I'll investigate asap and
> get back to you.
>
> Cheers,
> Dimitrios
>
> Aleksander Bandelj wrote:
>> There is a strange difference how PointExecutor and ArrowExecutor
>> treat Strings. For example:
>>
>> var colorNames:=Sequence {'white', 'green', 'yellow', 'orange', 'red'};
>>
>> colorNames->indexOf('red').println(); -- Java String, identity
>> comparison, prints -1
>> colorNames.indexOf('red').println(); -- EOLString, equality
>> comparison, prints 4
>>
>>
>> -a
Previous Topic:AM3 Bug?
Next Topic:[MOFScript] java code generation
Goto Forum:
  


Current Time: Tue Mar 19 10:14:13 GMT 2024

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

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

Back to the top