WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
189022
[WHLSL] ParseTypeArguments calls parseExpression()
https://bugs.webkit.org/show_bug.cgi?id=189022
Summary
[WHLSL] ParseTypeArguments calls parseExpression()
Myles C. Maxfield
Reported
2018-08-27 16:05:20 PDT
It calls parseConstexpr(), which calls parseTerm(), which calls parseExpression(). We don't want to allow things like int x = 2; vector<float, (x + 1)> v; We need to either change how the parser works, or add validation that typeArguments can only be certain things.
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2018-10-13 15:17:36 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/84
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug