Bug 198240

Summary: [WHLSL] We don't parse function statements
Product: WebKit Reporter: Saam Barati <saam>
Component: WebGPUAssignee: Robin Morisset <rmorisset>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: fpizlo, jonlee, justin_fan, mmaxfield, rmorisset, webkit-bug-importer
Priority: P1 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
<rdar://problem/51288767>
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.