Closed arai-a closed 11 months ago
If that solution ends up not being adopted (I personally don't think there's a problem that needs solving, and I think the solution is less readable), would this change be needed?
This is necessary only for https://github.com/tc39/ecma262/issues/3230 , and if we go with different way
(for example, change the definition of Generator
there, or add another intrinsic like %GeneratorPrototype%
and use it),
this change it not needed.
Closing given https://github.com/tc39/ecma262/pull/3234 is superseded by https://github.com/tc39/ecma262/pull/3238 with %GeneratorPrototype%, which doesn't have a dot inside %.
The current rule doesn't accept a dot inside the intrinsic name in header, but there are multiple intrinsics that has dots inside their names, such as
%GeneratorFunction.prototype.prototype%
.This allows the solution (A) in https://github.com/tc39/ecma262/issues/3230