[Webkit-unassigned] [Bug 149134] New: Confusing error message when closing curly brace is missing in a template literal string
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 14 14:59:54 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149134
Bug ID: 149134
Summary: Confusing error message when closing curly brace is
missing in a template literal string
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bburg at apple.com
CC: ggaren at apple.com, gskachkov at gmail.com,
joepeck at webkit.org, sbarati at apple.com,
utatane.tea at gmail.com
STEPS TO REPRODUCE:
Here's a test case that runs in the JSC shell:
>>> var foo = 123; var bar = `aaa bbb '${typeof foo'.`; 42;
Unexpected EOF:1
NOTES:
A useful error message occurs in this use case:
>>> var foo = 123; var bar = `aaa bbb '${typeof foo ccc'.`; 42;
Unexpected identifier 'ccc'. Expected a closing '}' following an expression in template literal.:1
--
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/20150914/e817cd4a/attachment.html>
More information about the webkit-unassigned
mailing list