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

Unified Diff: pkg/compiler/lib/src/js_emitter/class_stub_generator.dart

Issue 2941033002: Finish strong mode cleaning of dart2js. (Closed)
Patch Set: Add bug numbers and address comments. Created 3 years, 6 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: pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
diff --git a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
index 1b087c5db72a1df7f0b44bbbb2300bca3f618217..1441f9aa82b33f5d2f7923f624efdb3e9f27d1cb 100644
--- a/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
+++ b/pkg/compiler/lib/src/js_emitter/class_stub_generator.dart
@@ -44,9 +44,9 @@ class ClassStubGenerator {
// fields.map(
// (name) => js('this.# = #', [name, name]))]));
var typeParameters = const <jsAst.Parameter>[];
- var typeInits = const <jsAst.Expression>[];
+ dynamic typeInits = const <jsAst.Expression>[];
if (hasRtiField) {
- var rtiName = _namer.rtiFieldJsName;
+ dynamic rtiName = _namer.rtiFieldJsName;
typeParameters = rtiName;
typeInits = js('this.# = #', [rtiName, rtiName]);
}
« no previous file with comments | « pkg/compiler/lib/src/js_backend/mirrors_data.dart ('k') | pkg/compiler/lib/src/js_emitter/full_emitter/class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698