RESOLVED FIXED 177704
WSL should be fine with &foo()[i] if foo() returns a []
https://bugs.webkit.org/show_bug.cgi?id=177704
Summary WSL should be fine with &foo()[i] if foo() returns a []
Filip Pizlo
Reported 2017-09-29 23:35:45 PDT
Patch forthcoming.
Attachments
the patch (11.99 KB, patch)
2017-09-30 00:28 PDT, Filip Pizlo
saam: review+
Filip Pizlo
Comment 1 2017-09-30 00:28:48 PDT
Created attachment 322285 [details] the patch
Filip Pizlo
Comment 2 2017-09-30 00:30:54 PDT
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
Saam Barati
Comment 3 2017-10-02 14:50:42 PDT
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?
Filip Pizlo
Comment 4 2017-10-02 15:01:17 PDT
Radar WebKit Bug Importer
Comment 5 2017-10-02 15:02:50 PDT
Myles C. Maxfield
Comment 6 2018-10-13 19:23:59 PDT
Note You need to log in before you can comment on or make changes to this bug.