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

Issue 2543263002: Use Map(s) for top-level declarations. (Closed)

Created:
4 years ago by scheglov
Modified:
4 years ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use Map(s) for top-level declarations. This would help to implement 'get sources by name' that Paul pointed out in a previous CL. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/d6e89bf3a2245184f7660c8396c33aae2201b9e6

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -31 lines) Patch
M pkg/analyzer/lib/src/dart/analysis/file_state.dart View 3 chunks +14 lines, -18 lines 3 comments Download
M pkg/analyzer/test/src/dart/analysis/file_state_test.dart View 4 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years ago (2016-12-02 16:28:14 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2543263002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart File pkg/analyzer/lib/src/dart/analysis/file_state.dart (right): https://codereview.chromium.org/2543263002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart#newcode161 pkg/analyzer/lib/src/dart/analysis/file_state.dart:161: if (!declarations.containsKey(t.name) && Somewhat off topic, but if ...
4 years ago (2016-12-02 16:32:17 UTC) #2
Paul Berry
lgtm https://codereview.chromium.org/2543263002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart File pkg/analyzer/lib/src/dart/analysis/file_state.dart (right): https://codereview.chromium.org/2543263002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart#newcode136 pkg/analyzer/lib/src/dart/analysis/file_state.dart:136: * Return [TopLevelDeclaration]s exported from the this library ...
4 years ago (2016-12-02 16:34:42 UTC) #3
scheglov
4 years ago (2016-12-02 16:44:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d6e89bf3a2245184f7660c8396c33aae2201b9e6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698