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
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
Note You need to log in before you can comment on or make changes to this bug.