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

Unified Diff: pkg/compiler/lib/src/dart_backend/placeholder_collector.dart

Issue 1173403002: dart2js: Fix hints in code base. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Updated to latest revision Created 5 years, 6 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: pkg/compiler/lib/src/dart_backend/placeholder_collector.dart
diff --git a/pkg/compiler/lib/src/dart_backend/placeholder_collector.dart b/pkg/compiler/lib/src/dart_backend/placeholder_collector.dart
index e32f4a5a91e15a1955ace9ca78c633eedce3adae..12c70b367f6a61cf44dcf40994a2ae7531fa3a26 100644
--- a/pkg/compiler/lib/src/dart_backend/placeholder_collector.dart
+++ b/pkg/compiler/lib/src/dart_backend/placeholder_collector.dart
@@ -337,7 +337,6 @@ class PlaceholderCollector extends Visitor {
// collector logic in visitVariableDefinitions when resolver becomes better
// and/or catch syntax changes.
if (node.type == null) return;
- Element definitionElement = treeElements[node.definitions.nodes.head];
bool requiresVar = !node.modifiers.isFinalOrConst;
declarationTypePlaceholders.add(
new DeclarationTypePlaceholder(node.type, requiresVar));

Powered by Google App Engine
This is Rietveld 408576698