blob: f353d0955b0041b7bfd0015cecd1f6ac40826656 [file] [log] [blame]
Tests that the DFG knows that a function that appears like Math.max could potentially use value in arbitrary ways, and not just in a context that converts values to numbers.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(bar, [, 1.5], 0) is void 0
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS foo(Math.max, [1.5], 0) is Math.max(1.5, 2.5)
PASS successfullyParsed is true
TEST COMPLETE