Bug 198240 - [WHLSL] We don't parse function statements
Summary: [WHLSL] We don't parse function statements
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Robin Morisset
Keywords: InRadar
Depends on:
Reported: 2019-05-24 19:04 PDT by Saam Barati
Modified: 2019-06-10 16:08 PDT (History)
6 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Saam Barati 2019-05-24 19:04:33 PDT
"int y = foo(x, y); " parses. But "foo(x, y);" doesn't properly parse. Seems like we end up with a comma expression "(x, y)" instead...
Comment 1 Radar WebKit Bug Importer 2019-05-30 20:26:35 PDT
Comment 2 Robin Morisset 2019-06-10 16:08:48 PDT
I've tried this, and it parsed just fine. I suspect I accidentally fixed it in my parser patch.