<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Confusing error message when closing curly brace is missing in a template literal string"
href="https://bugs.webkit.org/show_bug.cgi?id=149134">149134</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Confusing error message when closing curly brace is missing in a template literal string
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>JavaScriptCore
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bburg@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>ggaren@apple.com, gskachkov@gmail.com, joepeck@webkit.org, sbarati@apple.com, utatane.tea@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>STEPS TO REPRODUCE:
Here's a test case that runs in the JSC shell:
<span class="quote">>>> var foo = 123; var bar = `aaa bbb '${typeof foo'.`; 42;</span >
Unexpected EOF:1
NOTES:
A useful error message occurs in this use case:
<span class="quote">>>> var foo = 123; var bar = `aaa bbb '${typeof foo ccc'.`; 42;</span >
Unexpected identifier 'ccc'. Expected a closing '}' following an expression in template literal.:1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>