I read gfx::Color src and notice:
** ** Return `argb` as the hash code. ** override Int hash() { return rgb }
return rgb but expected return argb.
return rgb
return argb
** ** Return `argb` as the hash code. ** override Bool equals(Obj? that) { x := that as Color return x == null ? false : x.argb == argb }
wrong slot fandoc
thanks - I pushed a fix
Login or Signup to reply.
Akcelisto Sat 27 Aug 2011
I read gfx::Color src and notice:
return rgb
but expectedreturn argb
.wrong slot fandoc
brian Mon 29 Aug 2011
thanks - I pushed a fix