Bug 73064 - CodeGenerator*.pm should support overloaded Constructor attribute
Summary: CodeGenerator*.pm should support overloaded Constructor attribute
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kentaro Hara
URL:
Keywords:
Depends on: 100801 103226
Blocks: 65839
  Show dependency treegraph
 
Reported: 2011-11-23 18:09 PST by Dominic Cooney
Modified: 2012-12-19 03:17 PST (History)
2 users (show)

See Also:


Attachments

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