Bug 177061

Summary: WSL cannot use typedefs of arrays
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: WebGPUAssignee: Filip Pizlo <fpizlo>
Severity: Normal CC: fpizlo, sbarati, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    
Description Flags
the patch sbarati: review+

Description Myles C. Maxfield 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
Comment 1 Filip Pizlo 2017-09-18 11:56:31 PDT
Created attachment 321119 [details]
the patch
Comment 2 Filip Pizlo 2017-09-18 11:57:47 PDT
Landed in https://trac.webkit.org/changeset/222172/webkit
Comment 3 Radar WebKit Bug Importer 2017-09-27 12:27:35 PDT
Comment 4 Myles C. Maxfield 2018-10-13 16:33:37 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/127