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

Unified Diff: pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart

Issue 1325383002: green bots: fix analyzer warning in lookupmap (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart
diff --git a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart
index be859799a70c1e443c9cbcfa82abd429a808dd7d..7be572b6c95e73e2049cdcc84abc6d30bc226ca6 100644
--- a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart
+++ b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart
@@ -13,6 +13,7 @@ import '../constants/values.dart' show
ConstructedConstantValue,
ListConstantValue,
NullConstantValue,
+ StringConstantValue,
TypeConstantValue;
import '../dart_types.dart' show DartType;
import '../elements/elements.dart' show
@@ -151,7 +152,7 @@ class LookupMapAnalysis {
// At this point, the lookupMapVersionVariable should be resolved and it's
// constant value should be available.
- ConstantValue value =
+ StringConstantValue value =
backend.constants.getConstantValueForVariable(lookupMapVersionVariable);
if (value == null) {
backend.compiler.reportInfo(lookupMapVersionVariable,
« 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