[Webkit-unassigned] [Bug 189290] New: [WHLSL] Taking the address of a ternary l-value expression produces an unrelated error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 4 17:32:16 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189290
Bug ID: 189290
Summary: [WHLSL] Taking the address of a ternary l-value
expression produces an unrelated error
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebGPU
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tdenney at apple.com
Ternary expressions can be used as l-values:
(someCondition ? a : b) = 42;
It should be possible to take the address of any l-value, however the following doesn’t work:
int a = 42;
int b = 43;
thread int* c = (someCondition ? a : b);
We should either disallow taking the address of a ternary expression, improve the current error message “Bad address space: undefined”, or support this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180905/e35f827b/attachment.html>
More information about the webkit-unassigned
mailing list