Commit 4e63f25
Normative: Ensure an Object is returned from calendar.mergeFields()
In each case where CalendarMergeFields is called, it is later asserted in
PrepareTemporalFields that Type(_fields_) is Object. Previously the spec
text failed this assertion.
The tests check that a TypeError is thrown in this case, as well as that
the TypeError is thrown before the value is passed to any dateFromFields()
or similar method.1 parent 4ec075f commit 4e63f25
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
1537 | | - | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1538 | 1540 | | |
1539 | 1541 | | |
1540 | 1542 | | |
| |||
0 commit comments