RESOLVED FIXED 177061
WSL cannot use typedefs of arrays
https://bugs.webkit.org/show_bug.cgi?id=177061
Summary WSL cannot use typedefs of arrays
Myles C. Maxfield
Reported 2017-09-17 17:20:34 PDT
function TEST_typedefArray() { let program = doPrep(` typedef ArrayTypedef = int[2]; int foo() { ArrayTypedef arrayTypedef; return arrayTypedef[0]; } `); checkInt(program, callFunction(program, "foo", [], []), 0); } ERROR: intLiteralType<2> at /internal/test:2 does not have type visitGenericLiteralType@file:///Users/litherum/src/WebKit/Tools/WebGPUShadingLanguageRI/LiteralTypeChecker.js:45:28
Attachments
the patch (2.06 KB, patch)
2017-09-18 11:56 PDT, Filip Pizlo
saam: review+
Filip Pizlo
Comment 1 2017-09-18 11:56:31 PDT
Created attachment 321119 [details] the patch
Filip Pizlo
Comment 2 2017-09-18 11:57:47 PDT
Radar WebKit Bug Importer
Comment 3 2017-09-27 12:27:35 PDT
Myles C. Maxfield
Comment 4 2018-10-13 16:33:37 PDT
Note You need to log in before you can comment on or make changes to this bug.