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

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

Issue 10334003: Rework static method support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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
Index: lib/dom/scripts/systeminterface.py
diff --git a/lib/dom/scripts/systeminterface.py b/lib/dom/scripts/systeminterface.py
index 9366b3d101015990f6f8ba104d0894fdb39732ca..08052ecb750ce7a4d7e7facd135dab2f4b028d2f 100644
--- a/lib/dom/scripts/systeminterface.py
+++ b/lib/dom/scripts/systeminterface.py
@@ -207,6 +207,9 @@ class DartInterfaceGenerator(object):
operations - contains the overloads, one or more operations with the same
name.
"""
+ if info.IsStatic():
+ return
+
self._members_emitter.Emit('\n'
' $TYPE $NAME($PARAMS);\n',
TYPE=info.type_name,

Powered by Google App Engine
This is Rietveld 408576698