No subject
Tue Jan 27 15:54:36 PST 2015
I think this can be fixed inside Parser::parseVarDeclarationList on line 489+ by raising a parse error for any deconstruction pattern node that does not contain a rhs.
--
You are receiving this mail because:
You are the assignee for the bug.
--1422646011.1f8Bf5c1.3490
Date: Fri, 30 Jan 2015 11:26:51 -0800
MIME-Version: 1.0
Content-Type: text/html
<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in uninitialized deconstructing variable."
href="https://bugs.webkit.org/show_bug.cgi?id=141070#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in uninitialized deconstructing variable."
href="https://bugs.webkit.org/show_bug.cgi?id=141070">bug 141070</a>
from <span class="vcard"><a class="email" href="mailto:saambarati1@gmail.com" title="Saam Barati <saambarati1@gmail.com>"> <span class="fn">Saam Barati</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=141070#c0">comment #0</a>)
<span class="quote">> I think this bug is related with
> <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - The parser should generate AST nodes the var declarations with no initializers"
href="show_bug.cgi?id=135545">https://bugs.webkit.org/show_bug.cgi?id=135545</a>
> variable declarations with no initializer, something like 'var {A};' or 'var
> [A];', make crash.
> these declarations also need AST nodes.</span >
More information about the webkit-unassigned
mailing list