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

Unified Diff: lib/compiler/implementation/js_backend/emitter.dart

Issue 10908090: Fix warnings. (Closed) Base URL: https://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
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | lib/compiler/implementation/ssa/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/js_backend/emitter.dart
diff --git a/lib/compiler/implementation/js_backend/emitter.dart b/lib/compiler/implementation/js_backend/emitter.dart
index 0f64e081763a87415a4b77a3064801fa1bffefa7..38a0484cb1416322ea37efad5eb6de9d3f502bd6 100644
--- a/lib/compiler/implementation/js_backend/emitter.dart
+++ b/lib/compiler/implementation/js_backend/emitter.dart
@@ -339,7 +339,7 @@ function(collectedClasses) {
int count = 0;
int indexOfLastOptionalArgumentInParameters = positionalArgumentCount - 1;
- TreeElements elements =
+ TreeElements elements =
compiler.enqueuer.resolution.getCachedElements(member);
parameters.forEachParameter((Element element) {
@@ -451,7 +451,7 @@ function(collectedClasses) {
}
String generateCheckedSetter(Element member, String fieldName) {
- Type type = member.computeType(compiler);
+ DartType type = member.computeType(compiler);
if (type.element.isTypeVariable()
|| type.element == compiler.dynamicClass
|| type.element == compiler.objectClass) {
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | lib/compiler/implementation/ssa/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698