WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
199603
[WHLSL] array typedef test causes us to compile a metal program with an error in it
https://bugs.webkit.org/show_bug.cgi?id=199603
Summary
[WHLSL] array typedef test causes us to compile a metal program with an error...
Saam Barati
Reported
2019-07-08 17:55:33 PDT
``` typedef ArrayTypedef = int[2]; int foo() { ArrayTypedef arrayTypedef; return arrayTypedef[0]; } ``` \ program_source:549:24: error: cannot initialize a member subobject of type 'type1 *' (aka 'int *') with an lvalue of type 'type135 *' (aka 'array<int, 2> *') type143 variable10 = { variable8, 1 }; ^~~~~~~~~
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2020-05-05 00:42:39 PDT
WHLSL is no longer relevant.
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