Summary: | WSL should be fine with &foo()[i] if foo() returns a [] | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Filip Pizlo <fpizlo> | ||||
Component: | WebGPU | Assignee: | Filip Pizlo <fpizlo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mmaxfield, saam, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 176199 | ||||||
Attachments: |
|
Description
Filip Pizlo
2017-09-29 23:35:45 PDT
Created attachment 322285 [details]
the patch
Comment on attachment 322285 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=322285&action=review > Tools/WebGPUShadingLanguageRI/Checker.js:492 > + node.notLValueReason = "Base of property access is neither lvalue not array reference"; *nor Comment on attachment 322285 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=322285&action=review > Tools/WebGPUShadingLanguageRI/PropertyAccessExpression.js:32 > + this._isLValue = null; // We use null to indicate that we don't know yet. Do you use this fact somewhere? Migrated to https://github.com/gpuweb/WHLSL/issues/169 |