Hi guys, Something I did not know and I would like to share: what is the result of "#a < #9" ? DNU ! When I expected to compare two symbols, in fact "#9 class" returns SmallInteger. So if I want to compare two symbols, I have to do "#a < #'9' ". Kind of small fun things ! Cheers, Jannik
Jannik can you - write a test - add a bug entry This would be to align this point. And also verify it in VW, Squeak and other. Stef On Jul 26, 2013, at 9:43 PM, jannik.laval <jannik.laval@gmail.com> wrote:
Hi guys,
Something I did not know and I would like to share: what is the result of "#a < #9" ? DNU !
When I expected to compare two symbols, in fact "#9 class" returns SmallInteger. So if I want to compare two symbols, I have to do "#a < #'9' ".
Kind of small fun things ! Cheers,
Jannik
https://pharo.fogbugz.com/default.asp?11257 Jannik On Jul 27, 2013, at 10:45 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Jannik can you - write a test - add a bug entry
This would be to align this point. And also verify it in VW, Squeak and other.
Stef
On Jul 26, 2013, at 9:43 PM, jannik.laval <jannik.laval@gmail.com> wrote:
Hi guys,
Something I did not know and I would like to share: what is the result of "#a < #9" ? DNU !
When I expected to compare two symbols, in fact "#9 class" returns SmallInteger. So if I want to compare two symbols, I have to do "#a < #'9' ".
Kind of small fun things ! Cheers,
Jannik
tx! On Jul 28, 2013, at 9:49 AM, jannik.laval <jannik.laval@gmail.com> wrote:
https://pharo.fogbugz.com/default.asp?11257
Jannik
On Jul 27, 2013, at 10:45 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Jannik can you - write a test - add a bug entry
This would be to align this point. And also verify it in VW, Squeak and other.
Stef
On Jul 26, 2013, at 9:43 PM, jannik.laval <jannik.laval@gmail.com> wrote:
Hi guys,
Something I did not know and I would like to share: what is the result of "#a < #9" ? DNU !
When I expected to compare two symbols, in fact "#9 class" returns SmallInteger. So if I want to compare two symbols, I have to do "#a < #'9' ".
Kind of small fun things ! Cheers,
Jannik
participants (2)
-
jannik.laval -
Stéphane Ducasse