Bug 143427 - StringConstructor with Symbol fails in DFG
Summary: StringConstructor with Symbol fails in DFG
Status: RESOLVED DUPLICATE of bug 143424
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 16:55 PDT by Joseph Pecoraro
Modified: 2015-04-05 17:43 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-04-05 16:55:13 PDT
* SUMMARY
StringConstructor with Symbol fails in DFG

* TEST
jsc> for (var i = 0; i < 10; ++i) { String(Symbol()); }
"Symbol()"

jsc> for (var i = 0; i < 100000; ++i) { String(Symbol()); }
Exception: TypeError: Type error

* EXPECTED
"Symbol()"
Comment 1 Yusuke Suzuki 2015-04-05 17:42:44 PDT
Ah! Opened issue :D

*** This bug has been marked as a duplicate of bug 143424 ***
Comment 2 Joseph Pecoraro 2015-04-05 17:43:28 PDT
Nice!