Bug 232548

Summary: IDL compiler fails to compile an IDL which only contains typedefs
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: NEW    
Severity: Normal CC: cdumez, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 232558    
Attachments:
Description Flags
Patch none

Myles C. Maxfield
Reported 2021-10-31 13:44:49 PDT
IDL compiler fails to compile an IDL which only contains typedefs
Attachments
Patch (1.40 KB, patch)
2021-10-31 13:45 PDT, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2021-10-31 13:45:48 PDT
Myles C. Maxfield
Comment 2 2021-11-01 00:56:00 PDT
Cannot have a central place for a bunch of typedefs ... or even put each typedef in its own file, which means typedefs have to be duplicated at their use site.
Radar WebKit Bug Importer
Comment 3 2021-11-07 12:45:19 PST
Sam Weinig
Comment 4 2022-03-02 17:06:54 PST
To do this, we would need to do the following: - Change typedef application to be after parsing. - Change the preprocess step to build the typedef map, and then use that post parsing.
Sam Weinig
Comment 5 2022-03-03 10:24:58 PST
As this has long been a problem and there is an easy solution we do everywhere in the code base of duplicating typedefs, I am not sure you should consider this a blocker.
Note You need to log in before you can comment on or make changes to this bug.