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

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

Issue 10451054: Fix a bug in overload dispatch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « no previous file | tests/html/audiocontext_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/scripts/systemnative.py
diff --git a/lib/dom/scripts/systemnative.py b/lib/dom/scripts/systemnative.py
index 8cbcb6bccce202ea57188e098ede11d015c9a6a1..eb34854808122b54eafc5047fd8d0d0b289357d6 100644
--- a/lib/dom/scripts/systemnative.py
+++ b/lib/dom/scripts/systemnative.py
@@ -1022,7 +1022,7 @@ class NativeImplementationGenerator(object):
for (position, param) in enumerate(info.param_infos):
if position < len(operation.arguments):
arg = operation.arguments[position]
- dart_type = DartType(arg.type.id)
+ dart_type = self._DartType(arg.type.id)
podivilov 2012/05/28 13:00:09 DOM interfaces named after idl interfaces have gon
if dart_type == param.dart_type:
# The overload type matches the method parameter type exactly. We
# will have already tested this type in checked mode, and the target
« no previous file with comments | « no previous file | tests/html/audiocontext_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698