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

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

Issue 10697092: Fix checked mode errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index 8ab82c88fadef6636a043f53afb338015736ea92..35072a9b10a2f07f9b1c70b43141f3c2fe689019 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -193,7 +193,7 @@ class JavaScriptBackend extends Backend {
void updateFieldSetters(Element field, HType type) {
assert(field.isField());
assert(field.enclosingElement.isClass());
- Map<Element, bool> fields =
+ Map<Element, HType> fields =
fieldSettersType.putIfAbsent(
field.enclosingElement, () => new Map<Element, HType>());
if (!fields.containsKey(field)) {
@@ -211,7 +211,7 @@ class JavaScriptBackend extends Backend {
if (!fieldSettersType.containsKey(field.enclosingElement)) {
return HType.UNKNOWN;
}
- Map<Element, Htype> fields = fieldSettersType[field.enclosingElement];
+ Map<Element, HType> fields = fieldSettersType[field.enclosingElement];
if (!fields.containsKey(field)) return HType.UNKNOWN;
return fields[field];
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698