Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: lib/dom/scripts/generator.py

Issue 10533064: Support custom constructors with signature declaration. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/dom/scripts/fremontcutbuilder.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/generator.py
diff --git a/lib/dom/scripts/generator.py b/lib/dom/scripts/generator.py
index 106219c40ca6bed55bb6e07593fdb9df44452a51..4178f9cff0163622502ee0e613107c216a86ac01 100644
--- a/lib/dom/scripts/generator.py
+++ b/lib/dom/scripts/generator.py
@@ -275,6 +275,8 @@ def AnalyzeConstructor(interface):
return map(lambda arg: _DartArg([arg], interface, True),
func_value.arguments)
+ if 'CustomConstructor' in interface.ext_attrs:
+ return None
if 'Constructor' in interface.ext_attrs:
name = None
func_value = interface.ext_attrs.get('Constructor')
« no previous file with comments | « lib/dom/scripts/fremontcutbuilder.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698