Croquet float bug
Andreas Raab
andreas.raab at gmx.de
Mon Jun 23 08:58:24 UTC 2003
Whoa!
> Even though I've scratched my immediate itch, I'm still curious about
> getting to the bottom of this, so I'll poke around a bit more.
The primitive checks for the argument being a float array succeed - but
wrongly! Regular floats pass all those checks (since they are words and no
pointers) and from the VMs POV a Float looks like a FloatArray of size 2. Ho
hum. Thanks for finding this. So much for excessive type checks on the
arguments ;-)
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|