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

Unified Diff: tools/testing/dart/status_expression.dart

Issue 8511057: Fix build: use strings for booleans in status expression evaluation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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: tools/testing/dart/status_expression.dart
diff --git a/tools/testing/dart/status_expression.dart b/tools/testing/dart/status_expression.dart
index 7ca8bc610cba0fca4607dfe7a3576f7b8294e444..9f664897ea6cb5f85dd18876e0dfde71356e0990 100644
--- a/tools/testing/dart/status_expression.dart
+++ b/tools/testing/dart/status_expression.dart
@@ -110,7 +110,7 @@ class BooleanVariable implements BooleanExpression {
BooleanVariable(this.variable);
- bool evaluate(environment) => variable.termValue(environment) == true;
+ bool evaluate(environment) => variable.termValue(environment) == 'true';
String toString() => "(bool \$${variable.name})";
}
« 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