[Webkit-unassigned] [Bug 198305] [WHLSL] Multiple variables with initializers in a declaration statement crashes the compiler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 28 14:55:00 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=198305

--- Comment #3 from Robin Morisset <rmorisset at apple.com> ---
I verified, and indeed there is a bug in the parser/grammar/spec.
I should replace 'expr' in the definition of variableDeclarations by possibleTernaryConditional. And if someone actually wants to write int x = foo(), bar(); they can do it simply by adding parentheses.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190528/1386f266/attachment.html>


More information about the webkit-unassigned mailing list