groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thibault Kruse <tibokr...@googlemail.com>
Subject Re: usage of NumberAwareComparator in extension methods and number oddities (a bit code review)
Date Mon, 19 Oct 2015 14:30:13 GMT
I opened JIRA issues:
https://issues.apache.org/jira/browse/GROOVY-7636
https://issues.apache.org/jira/browse/GROOVY-76367

and created PR:
https://github.com/apache/incubator-groovy/pull/150

On Tue, Sep 8, 2015 at 3:19 PM, Thibault Kruse <tibokruse@googlemail.com> wrote:
>> // bug, returns 47?
>> // assert compareTo('aa1', '2' as Character) == 1
>
> those ones are fine actually, compareTo in Comparable only requires
> integers, not -1, 0, 1, and I'll assume that as long as the sign is
> valid, it's not a bug.

Mime
View raw message