Bug 186769

Summary: [WSL] An array reference of an array cell should return a reference of length 1, not a slice to the end of the original array
Product: WebKit Reporter: Robin Morisset <rmorisset>
Component: WebGPUAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 176199    

Description Robin Morisset 2018-06-18 09:04:01 PDT
```
int[3] x;
x[0] = 1;
x[1] = 3;
x[2] = 6;
thread int[] r = @x[1]; // or @(x[1])
r[1] = 5;
```
should fail, instead of resulting in x being [1;3;5].
Comment 1 Myles C. Maxfield 2018-10-13 15:50:39 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/115