Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon] String wrapping under -> and .
[Epsilon] String wrapping under -> and . [message #383596] |
Thu, 15 May 2008 12:58  |
Eclipse User |
|
|
|
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 14:00   |
Eclipse User |
|
|
|
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 16:19  |
Eclipse User |
|
|
|
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 14:00  |
Eclipse User |
|
|
|
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 16:19  |
Eclipse User |
|
|
|
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
|
|
|
Goto Forum:
Current Time: Thu Mar 27 17:08:41 EDT 2025
Powered by FUDForum. Page generated in 0.04016 seconds
|