Commit Graph

7 Commits

Author SHA1 Message Date
llogiq
973d5e5c6b Mul and Div for integers 2015-08-19 11:58:59 +02:00
Georg Brandl
7f52239cab consts: convert to using a struct with state
Struct has the context reference (as an Option) and the
needed_resolution flag.
2015-08-17 19:58:21 +02:00
llogiq
a2ee637be6 added test and fixed negativity check in Partial{Eq, Ord} impl 2015-08-17 16:24:57 +02:00
llogiq
9f134f8e95 added PartialEq/PartialOrd to ConstantVariant, used to implement comparing binops 2015-08-17 13:18:14 +02:00
llogiq
84abfcd22d fix 189, fixed a few warnings, ==/!= for consts, refactored consts test 2015-08-17 11:43:36 +02:00
llogiq
03c7d7074d With working test now 2015-08-16 15:56:09 +02:00
llogiq
f23af0cfd5 changed const to consts to avoid keyword, added test, fixed a lot of bugs 2015-08-14 17:14:54 +02:00