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

Unified Diff: lib/html/scripts/systemdart2js.py

Issue 10941047: Don't generate FooList if it behaves like List<Foo> exactly. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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/html/scripts/systemdart2js.py
===================================================================
--- lib/html/scripts/systemdart2js.py (revision 12656)
+++ lib/html/scripts/systemdart2js.py (working copy)
@@ -134,6 +134,9 @@
pass
def _ImplClassName(self, type_name):
+ name = type_name
+ if type_name in nativified_classes:
+ name = nativified_classes[type_name]
return '_' + type_name + 'Js'
def _EmitFactoryProvider(self, interface_name, constructor_info):

Powered by Google App Engine
This is Rietveld 408576698