[Webkit-unassigned] [Bug 147150] New: [ES6] Class parser does not allow methods named set and get.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jul 21 08:51:08 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=147150
Bug ID: 147150
Summary: [ES6] Class parser does not allow methods named set
and get.
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: NeedsRadar
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: oliver at apple.com
CC: rniwa at webkit.org, saambarati1 at gmail.com
class Foo {
set() {}
};
and
class Bar {
get() {}
}
should both be valid method names, and yet are being rejected. The parser needs to check for a ( after the get/set pseudo-keywords rather than assuming it's always a setter or getter.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150721/fde37beb/attachment.html>
More information about the webkit-unassigned
mailing list