[Seaside-dev] How portable is the Fraction class?
wembley at instantiations.com
Fri Mar 2 14:09:56 UTC 2012
Only Fractions (not Integers) answer true to #isFraction in VA Smalltalk.
John O'Keefe [|], CTO/Principal Smalltalk Architect, Instantiations Inc.
Skype: john_okeefe2 Mobile: +1 919 417-3181 (Business hours USA
Eastern Time zone (GMT -5))
john_okeefe at instantiations.com
*VA Smalltalk...Onward and Upward!*
On Thu, Mar 1, 2012 at 3:19 PM, Philippe Marschall <
philippe.marschall at gmail.com> wrote:
> In Pharo 1.4 both Integer and Fraction answer #isFraction with true.
> Therefore GRPlatformTest >> #testSeconds fails. A proposes work around
> is to use to use isKindOf: Fraction instead of #isFraction. How
> portable is this? Does anybody not have a Fraction class?
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside-dev