WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
186768
[WSL] The interpreter should detect when typedefs form a cycle
https://bugs.webkit.org/show_bug.cgi?id=186768
Summary
[WSL] The interpreter should detect when typedefs form a cycle
Robin Morisset
Reported
2018-06-18 09:01:16 PDT
``` typedef a = b; typedef b = a; ``` currently hangs the interpreter until it has a stack overflow. Ideally it should be detected, and give a nicer error message.
Attachments
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2018-08-29 17:17:54 PDT
Other types too: enums, arrays, structs, etc. (I don't know how they could be circular, but we should prove that it isn't possible using any type)
Myles C. Maxfield
Comment 2
2018-08-29 17:18:02 PDT
***
Bug 189024
has been marked as a duplicate of this bug. ***
Myles C. Maxfield
Comment 3
2018-10-13 15:51:42 PDT
Migrated to
https://github.com/gpuweb/WHLSL/issues/116
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