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
Myles C. Maxfield
Comment 1 2018-10-13 15:17:36 PDT
Note You need to log in before you can comment on or make changes to this bug.