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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart

Issue 614993002: Rename Constant to ConstantValue and ConstExp to ConstantExpression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 6 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
Index: sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart
index 02cfe67f67d3c97547b2e96767f315f15bae5e38..aa463f44697af08b990dd139ecda6b8ad1654de6 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/logical_rewriter.dart
@@ -408,7 +408,7 @@ class LogicalRewriter extends Visitor<Statement, Expression> {
if (e is Constant && e.value.isBool) {
// !true ==> false
if (!polarity) {
- values.BoolConstant value = e.value;
+ values.BoolConstantValue value = e.value;
return new Constant.primitive(value.negate());
}
return e;

Powered by Google App Engine
This is Rietveld 408576698