WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
199766
[WHLSL] Structs should be able to recursively point to each other
https://bugs.webkit.org/show_bug.cgi?id=199766
Summary
[WHLSL] Structs should be able to recursively point to each other
Justin Fan
Reported
2019-07-12 16:11:13 PDT
This code does not compile but should. struct Foo { thread Bar* bar; int foo; } struct Bar { thread Foo* foo; int bar; } int foo() { Foo foo; Bar bar; foo.foo = 564; bar.bar = 53; return foo.bar->bar - bar.foo->foo; }
Attachments
Add attachment
proposed patch, testcase, etc.
Justin Fan
Comment 1
2019-07-12 16:11:39 PDT
When fixing this bug, make sure to update whlsl-recursive-structs.html.
Myles C. Maxfield
Comment 2
2020-05-05 00:42:34 PDT
WHLSL is no longer relevant.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug