[squeak-dev] OMeta2 minor bug
Douglas McPherson
djm1329 at san.rr.com
Wed Oct 31 20:53:18 UTC 2012
Hi,
I think there's a small problem with the semantic predicate of the range rule:
range :a :b =
anything:x ?[a <= x & x <= b] -> [x]
A pair of parenthesis fixes the problem:
range :a :b =
anything:x ?[a <= x & (x <= b)] -> [x]
Thanks,
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20121031/5351488d/attachment.htm
More information about the Squeak-dev
mailing list
|