Index: pkg/analyzer/lib/src/dart/element/element.dart |
diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart |
index d313a165421782528b6f591bdb244d67d11e705d..a70fe674ed1921c22c2a3f90df83807230cde4b4 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -5561,7 +5561,7 @@ class LabelElementImpl extends ElementImpl implements LabelElement { |
} |
@override |
- T accept<T>(ElementVisitor<T> visitor) => visitor.visitLabelElement(this); |
+ T accept<T>(ElementVisitor<T> visitor) => null; |
Brian Wilkerson
2017/07/06 22:42:52
It would be better to throw a not-implemented exce
scheglov
2017/07/07 15:05:33
Done.
|
/** |
* Create and return [LabelElement]s for the given [unlinkedLabels]. |
@@ -6382,8 +6382,7 @@ class LocalVariableElementImpl extends NonParameterVariableElementImpl |
} |
@override |
- T accept<T>(ElementVisitor<T> visitor) => |
- visitor.visitLocalVariableElement(this); |
+ T accept<T>(ElementVisitor<T> visitor) => null; |
@override |
void appendTo(StringBuffer buffer) { |