Bug 73064

Summary: CodeGenerator*.pm should support overloaded Constructor attribute
Product: WebKit Reporter: Dominic Cooney <dominicc>
Component: DOMAssignee: Kentaro Hara <haraken>
Status: RESOLVED FIXED    
Severity: Normal CC: sam, tommyw
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 100801, 103226    
Bug Blocks: 65839    

Dominic Cooney
Reported 2011-11-23 18:09:42 PST
Currently there is ad-hoc overloading of generated constructors using optional parameters. However Web IDL allows multiple Constructor specs that can vary in arity and argument types. For example the Intents constructor needs this because it is overloaded with zero, two or three arguments. See patches on bug 73051 for details of the Intent constructor.
Attachments
Note You need to log in before you can comment on or make changes to this bug.