mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 21:17:28 +00:00
valuesEqual converted both operands with toInt, which truncates a float64,
so 1.5 == 1 and -0.5 == 0 were true while 1.5 > 1 was also true. json.Decode
yields float64 numbers, so a hook testing m["amount"] == 0 matched a body
{"amount":0.5}. When either side is a float the comparison is now done in
float64.
|
||
|---|---|---|
| .. | ||
| eval.go | ||
| stdlib.go | ||
| validate.go | ||
| vm_test.go | ||