diff --git a/core/classes/tuple/parser/parser-tests.factor b/core/classes/tuple/parser/parser-tests.factor index 10cbe268da..d40b71b477 100644 --- a/core/classes/tuple/parser/parser-tests.factor +++ b/core/classes/tuple/parser/parser-tests.factor @@ -51,7 +51,7 @@ must-fail-with [ error>> unexpected-eof? ] must-fail-with -[ "IN: classes.tuple.parser.tests USE: generic.standard TUPLE: foo { slot no-method } ;" eval ] +[ "IN: classes.tuple.parser.tests USE: alien TUPLE: foo { slot dll } ;" eval ] [ error>> no-initial-value? ] must-fail-with diff --git a/core/optimizer/math/math.factor b/core/optimizer/math/math.factor index 799f4d80cf..b208a9f894 100755 --- a/core/optimizer/math/math.factor +++ b/core/optimizer/math/math.factor @@ -444,7 +444,10 @@ most-negative-fixnum most-positive-fixnum [a,b] { /f < > <= >= } [ { real real } "input-classes" set-word-prop ] each -{ /i bitand bitor bitxor bitnot shift } +{ /i mod /mod } +[ { rational rational } "input-classes" set-word-prop ] each + +{ bitand bitor bitxor bitnot shift } [ { integer integer } "input-classes" set-word-prop ] each {