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

Issue 2977623002: Restore visitLabelElement() and visitLocalVariableElement(). (Closed)

Created:
3 years, 5 months ago by scheglov
Modified:
3 years, 5 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Restore visitLabelElement() and visitLocalVariableElement(). Revert "Remove visitLabelElement() and visitLocalVariableElement()." This reverts commit 2c064df1451568d4b1187b9a54d0ad7cc383612e. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/51b50f771080b450228300e08e837fbe3dd97eb4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M pkg/analyzer/lib/dart/element/element.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/dart/element/visitor.dart View 5 chunks +31 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/element.dart View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
scheglov
3 years, 5 months ago (2017-07-10 17:56:37 UTC) #1
jwren
On 2017/07/10 17:56:37, scheglov wrote: LGTM
3 years, 5 months ago (2017-07-10 17:58:04 UTC) #2
scheglov
Committed patchset #1 (id:1) manually as 51b50f771080b450228300e08e837fbe3dd97eb4 (presubmit successful).
3 years, 5 months ago (2017-07-10 18:00:35 UTC) #4
Brian Wilkerson
lgtm, but out of curiosity, what was the motivation for reverting?
3 years, 5 months ago (2017-07-19 16:32:10 UTC) #5
Paul Berry
On 2017/07/19 16:32:10, Brian Wilkerson wrote: > lgtm, but out of curiosity, what was the ...
3 years, 5 months ago (2017-07-19 16:38:22 UTC) #6
scheglov
3 years, 5 months ago (2017-07-19 16:39:35 UTC) #7
Message was sent while issue was closed.
On 2017/07/19 16:32:10, Brian Wilkerson wrote:
> lgtm, but out of curiosity, what was the motivation for reverting?

Internal code indexer uses Element.accept(indexingElementVisitor) to process
different types of elements in different visitX() methods.
It does not need to visit local variables or labels recursively, just type
switch.

Powered by Google App Engine
This is Rietveld 408576698