[JSC] get / set for object literal and class should not be escaped
Created attachment 415513 [details] Patch
Comment on attachment 415513 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415513&action=review Marvelous, r=me! > Source/JavaScriptCore/ChangeLog:8 > + "get" and "set" for getter and setter should not be escaped one. Perhaps it's worth to explain why not, in contrast to previous patch? Like: Terminal symbols of the lexical grammars are shown in fixed width font [1], and are to appear in a script exactly as written. [1]: https://tc39.es/ecma262/#sec-method-definitions
Comment on attachment 415513 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415513&action=review >> Source/JavaScriptCore/ChangeLog:8 >> + "get" and "set" for getter and setter should not be escaped one. > > Perhaps it's worth to explain why not, in contrast to previous patch? Like: > > Terminal symbols of the lexical grammars are shown in fixed width font [1], and are to appear in a script exactly as written. > > [1]: https://tc39.es/ecma262/#sec-method-definitions That's very nice! I've added :D
Committed r270487: <https://trac.webkit.org/changeset/270487>
<rdar://problem/72026319>