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

Unified Diff: tools/dom/scripts/systemhtml.py

Issue 2879663002: dom: Recognize __getter__ indexers (Closed)
Patch Set: Created 3 years, 7 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
« tools/dom/scripts/htmlrenamer.py ('K') | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index d86216c92657dece808ede7f7dbfd101c873ba0c..72181094a575ba505fd9171a74ef8409bfc051f8 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -874,6 +874,10 @@ class Dart2JSBackend(HtmlDartGenerator):
and not self._OperationRequiresConversions(operation):
has_indexed_getter = True
break
+ if operation.id == '__getter__' and 'getter' in operation.specials \
+ and not self._OperationRequiresConversions(operation):
+ has_indexed_getter = True
+ break
return has_indexed_getter
def AddIndexer(self, element_type, nullable):
« tools/dom/scripts/htmlrenamer.py ('K') | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698