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

Unified Diff: pkg/polymer_expressions/lib/eval.dart

Issue 72683004: fix analyzer error (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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: pkg/polymer_expressions/lib/eval.dart
diff --git a/pkg/polymer_expressions/lib/eval.dart b/pkg/polymer_expressions/lib/eval.dart
index 6ca92aba9771b6cf0049f14f04f26a550e228635..4501ef5dcb5484b0e52cb2325b8303727360408c 100644
--- a/pkg/polymer_expressions/lib/eval.dart
+++ b/pkg/polymer_expressions/lib/eval.dart
@@ -495,8 +495,8 @@ class BinaryObserver extends ExpressionObserver<BinaryOperator>
_value = null;
} else {
if (operator == '|' && left._value is ObservableList) {
- _subscription = left._value.listChanges.listen(
- (_) => _invalidate(scope));
+ _subscription = (left._value as ObservableList).listChanges
+ .listen((_) => _invalidate(scope));
}
_value = f(left._value, right._value);
}
« 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