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

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

Issue 1779023002: Trying to fix SQLResultSetRowList's subscript operator to do type conversion (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Use _OperationRequiresConversion instead of supplemental IDL" Created 4 years, 9 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 | « tools/dom/scripts/generator.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 b31b23d9bb5fbef285295bd9f14ef7706be6727e..672d97e7a1faaed2eda62a1fd0b2b10ea104d85f 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -828,7 +828,8 @@ class Dart2JSBackend(HtmlDartGenerator):
ext_attrs = self._interface.ext_attrs
has_indexed_getter = 'CustomIndexedGetter' in ext_attrs
for operation in self._interface.operations:
- if operation.id == 'item' and 'getter' in operation.specials:
+ if operation.id == 'item' and 'getter' in operation.specials \
+ and not self._OperationRequiresConversions(operation):
has_indexed_getter = True
break
return has_indexed_getter
« no previous file with comments | « tools/dom/scripts/generator.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698