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)); |