-
Notifications
You must be signed in to change notification settings - Fork 864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use to primitive for plus operation and date (taken from #1611 done by @tonygermano) #1685
Changes from 5 commits
d9e7181
bbd4e24
4330b4f
4666d67
00548d0
1ae1fca
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -659,7 +659,7 @@ built-ins/DataView 254/550 (46.18%) | |
toindex-bytelength-sab.js {unsupported: [SharedArrayBuffer]} | ||
toindex-byteoffset-sab.js {unsupported: [SharedArrayBuffer]} | ||
|
||
built-ins/Date 90/770 (11.69%) | ||
built-ins/Date 68/770 (8.83%) | ||
now/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
parse/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
parse/year-zero.js | ||
|
@@ -697,18 +697,7 @@ built-ins/Date 90/770 (11.69%) | |
prototype/setUTCMinutes/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
prototype/setUTCMonth/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
prototype/setUTCSeconds/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
prototype/Symbol.toPrimitive/hint-default-first-invalid.js | ||
prototype/Symbol.toPrimitive/hint-default-first-non-callable.js | ||
prototype/Symbol.toPrimitive/hint-default-first-valid.js | ||
prototype/Symbol.toPrimitive/hint-invalid.js | ||
prototype/Symbol.toPrimitive/hint-number-first-invalid.js | ||
prototype/Symbol.toPrimitive/hint-number-first-non-callable.js | ||
prototype/Symbol.toPrimitive/hint-number-first-valid.js | ||
prototype/Symbol.toPrimitive/hint-string-first-invalid.js | ||
prototype/Symbol.toPrimitive/hint-string-first-non-callable.js | ||
prototype/Symbol.toPrimitive/hint-string-first-valid.js | ||
prototype/Symbol.toPrimitive/length.js | ||
prototype/Symbol.toPrimitive/name.js | ||
prototype/Symbol.toPrimitive/called-as-function.js | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like we made a bunch of new tests pass, but we also made a test that previously passed fail, from what it looks like. Do you know why this appears to be failing now? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Have seen this alteady but there was no time for that. Will check There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. called-as-function.js seems to be a more general problem we have the same with the toJSON prototype. Will have another look at this and maybe open an issue for that, but in gerneral it is nothing introduced by this one. |
||
prototype/Symbol.toPrimitive/prop-desc.js | ||
prototype/Symbol.toPrimitive/this-val-non-obj.js | ||
prototype/toDateString/not-a-constructor.js {unsupported: [Reflect.construct]} | ||
|
@@ -738,17 +727,6 @@ built-ins/Date 90/770 (11.69%) | |
proto-from-ctor-realm-two.js {unsupported: [Reflect]} | ||
proto-from-ctor-realm-zero.js {unsupported: [Reflect]} | ||
subclassing.js {unsupported: [Reflect]} | ||
value-get-symbol-to-prim-err.js | ||
value-symbol-to-prim-err.js | ||
value-symbol-to-prim-invocation.js | ||
value-symbol-to-prim-return-obj.js | ||
value-symbol-to-prim-return-prim.js | ||
value-to-primitive-call.js | ||
value-to-primitive-call-err.js | ||
value-to-primitive-get-meth-err.js | ||
value-to-primitive-result-faulty.js | ||
value-to-primitive-result-non-string-prim.js | ||
value-to-primitive-result-string.js | ||
year-zero.js | ||
|
||
built-ins/Error 6/41 (14.63%) | ||
|
@@ -3862,15 +3840,8 @@ language/eval-code 253/347 (72.91%) | |
|
||
~language/export | ||
|
||
language/expressions/addition 9/48 (18.75%) | ||
language/expressions/addition 2/48 (4.17%) | ||
bigint-errors.js | ||
bigint-toprimitive.js | ||
bigint-wrapped-values.js | ||
coerce-symbol-to-prim-err.js | ||
coerce-symbol-to-prim-invocation.js | ||
coerce-symbol-to-prim-return-obj.js | ||
coerce-symbol-to-prim-return-prim.js | ||
get-symbol-to-prim-err.js | ||
order-of-evaluation.js | ||
|
||
language/expressions/array 41/52 (78.85%) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor, but do you know why there is a semicolon here?