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

Unified Diff: pkg/dev_compiler/lib/src/compiler/code_generator.dart

Issue 2654583002: Closes https://github.com/dart-lang/sdk/issues/28291 (Closed)
Patch Set: Created 3 years, 11 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/lib_strong/html/js_extend_class_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/src/compiler/code_generator.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/code_generator.dart b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
index 3832ea07c73897023fbb6b5cea1fd767915f992c..f558b118fe81fa4490c35f28b74b8b639dbb4a97 100644
--- a/pkg/dev_compiler/lib/src/compiler/code_generator.dart
+++ b/pkg/dev_compiler/lib/src/compiler/code_generator.dart
@@ -1262,7 +1262,7 @@ class CodeGenerator extends GeneralizingAstVisitor
// List of "direct" JS superclasses
var baseclasses =
- basetypes.map((t) => _emitType(t, nameType: false)).toList();
+ basetypes.map((t) => _emitConstructorAccess(t, nameType: false)).toList();
vsm 2017/01/23 20:45:03 nit: run format.
assert(baseclasses.isNotEmpty);
var heritage = (baseclasses.length == 1)
? baseclasses.first
« no previous file with comments | « no previous file | tests/lib_strong/html/js_extend_class_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698