prepack/test
Nikolai Tillmann 94245b1d14 Fixing equals
Summary:
Fixing equals() on Values

Release notes: None

I found the following bugs in equals():
- For numbers, it didn't take into account NaN.
- For symbols, it was too optimistic.
And for objects, it was overly complicated.

Adding regression test for symbols. Could produce a regression test for numbers, but file a related issue for NaN values.
Closes https://github.com/facebook/prepack/pull/1791

Differential Revision: D7784665

Pulled By: NTillmann

fbshipit-source-id: 96bdcce6c771c8549dc52cd73c646d0e15b5b9b0
2018-04-26 22:41:06 -07:00
..
error-handler Handle abstract conditional break inside definite for loop 2018-04-26 01:58:46 -07:00
node-cli Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
react Fixes a bunch of serialization bugs 2018-04-26 14:22:19 -07:00
residual Partial evaluation of throw statements 2018-02-22 12:31:52 -08:00
serializer Fixing equals 2018-04-26 22:41:06 -07:00
source-maps Initial commit 2017-03-28 20:52:41 -07:00
std-in fix #1239 - Command-line based syntax errors now print location 2017-12-18 13:56:26 -08:00
test262@098f9ca3de Initial commit 2017-03-28 20:52:41 -07:00