Index: pkg/analyzer/lib/src/dart/element/builder.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/builder.dart b/pkg/analyzer/lib/src/dart/element/builder.dart |
index 23869eeb038f1cda63b70ed0e6b781b32a0c395b..15fbbc94e55a50665f76c913632717b1c0c50efb 100644 |
--- a/pkg/analyzer/lib/src/dart/element/builder.dart |
+++ b/pkg/analyzer/lib/src/dart/element/builder.dart |
@@ -906,7 +906,6 @@ class ElementBuilder extends RecursiveAstVisitor<Object> { |
SimpleIdentifier labelName = label.label; |
LabelElementImpl element = |
new LabelElementImpl.forNode(labelName, onSwitchStatement, false); |
- _setCodeRange(element, node); |
_currentHolder.addLabel(element); |
labelName.staticElement = element; |
} |