[Webkit-unassigned] [Bug 149743] New: Function.toString.call(class Foo {}) doesn't say "class"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 2 01:08:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149743
Bug ID: 149743
Summary: Function.toString.call(class Foo {}) doesn't say
"class"
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ljharb at gmail.com
CC: darin at apple.com, fpizlo at apple.com,
utatane.tea at gmail.com
`Function.toString.call(class Foo {})` should return `class Foo {}`, not `function Foo() {}`.
Function#toString is definitely underspecified in ES6, but the current spec text *allows* for the correct representation, and future spec text will require it. Please fix this ASAP.
--
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/20151002/6eea58a8/attachment.html>
More information about the webkit-unassigned
mailing list