Fix discrepancies in PrepareTemporalFields (PR #2472)
- Frank pointed out that we don't need two versions of this AO
- In fact, accidental discrepancies had arisen between them
- Avoid a contrived situation where code works in an implementation without 402 and breaks in an implementation with 402:
class C extends Temporal.Calendar {
fields(list) { return [...list, 'era']; }
}
Temporal.PlainDate.from({ era: 'foo', year: 2023, month: 1, day: 30, calendar: new C("iso8601") });