commit | dc116a332eefc1305684a3cc4eae88881d43646c | [log] [tgz] |
---|---|---|
author | Konstantin Shcheglov <scheglov@google.com> | Wed Jun 16 00:06:33 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Jun 16 00:06:33 2021 +0000 |
tree | 1aa4c6d2621f2fea09ec6909be43c8a14bf4fe4a | |
parent | ccb3943e48524a993b6ca6e91cc39dabd360797f [diff] |
Call super in visitPropertyInducingElement(). Otherwise we fail to deatch metadata nodes. Change-Id: Ib637a95d30028807ef3fbdcde10dfb0241b05630 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203823 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
diff --git a/pkg/analyzer/lib/src/summary2/detach_nodes.dart b/pkg/analyzer/lib/src/summary2/detach_nodes.dart index b4c5697..3f93f01 100644 --- a/pkg/analyzer/lib/src/summary2/detach_nodes.dart +++ b/pkg/analyzer/lib/src/summary2/detach_nodes.dart
@@ -56,6 +56,7 @@ element.typeInference = null; } _detachConstVariable(element); + super.visitPropertyInducingElement(element); } void _detachConstVariable(Element element) {