archives

« Bugzilla Issues Index

#2825 — 8.2.1 CreateRealm: steps 5-9 duplicate steps in 26.2.1.1, Reflect.Realm


In draft 24, large parts of CreateRealm have been moved into the Reflect.Realm constructor. Some of them haven't been removed from CreateRealm, however: steps 5-9.

Given that CreateRealm now basically just creates realmRec and its member record `intrinsics`, (as step 10 is made redundant by steps 20-22 of 26.2.1.1) maybe those two steps should be inlined into the Reflect.Realm constructor.

Thus, steps 5-7 of 26.2.1.1 could be the current steps 1-3 of 8.2.1. (with `realmRec` replaced by `realm` everywhere.)


fixed in rev25 editor's draft

with additional refactoring between CreateRealm and the Realm constructor.

However, I think it is appropriate for CreateIntrinsics to stay in CreateRealm as 8.5 create a Realm record for the primordial realm but not a Realm object.


fixed in rev25 editor's draft