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

Unified Diff: pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart

Issue 885093002: dart2js: Fix types in new emitter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix more types. Created 5 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 | « pkg/compiler/lib/src/js_emitter/model.dart ('k') | pkg/compiler/lib/src/js_emitter/program_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart b/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart
index 250a85ee00d1d6333cf748570cc8d9914201d61d..ab1830522e3eed1ff53c13d4eff0d98fde2dd907 100644
--- a/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart
@@ -295,9 +295,9 @@ class ModelEmitter {
}
js.Expression emitLibrary(Library library) {
- Iterable staticDescriptors = library.statics.expand((e) =>
+ Iterable staticDescriptors = library.statics.expand((StaticMethod e) =>
[ js.string(e.name), js.number(e.holder.index), emitStaticMethod(e) ]);
- Iterable classDescriptors = library.classes.expand((e) =>
+ Iterable classDescriptors = library.classes.expand((Class e) =>
[ js.string(e.name), js.number(e.holder.index), emitClass(e) ]);
js.Expression staticArray =
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/model.dart ('k') | pkg/compiler/lib/src/js_emitter/program_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698