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

Issue 2473473002: Use FileContentOverlay instead of ContentCache in the new driver. (Closed)

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

Description

Use FileContentOverlay instead of ContentCache in the new driver. We do something strange in Analysis Server and the driver. We get path, create the corresponding Source, and then put/get the content using this Source. It seems more natural to use path everywhere. R=paulberry@google.com, brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/5ba0fac0195139fb8a3624f194074980a0d108c1

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -13 lines) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 5 chunks +9 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/dart/analysis/driver.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/dart/analysis/file_state.dart View 4 chunks +31 lines, -4 lines 1 comment Download
M pkg/analyzer/test/src/dart/analysis/driver_test.dart View 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
scheglov
4 years, 1 month ago (2016-11-01 19:33:08 UTC) #1
Paul Berry
lgtm assuming comment is addressed. https://codereview.chromium.org/2473473002/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/2473473002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart#newcode44 pkg/analyzer/lib/src/dart/analysis/file_state.dart:44: _map[path] = content; If ...
4 years, 1 month ago (2016-11-01 19:37:31 UTC) #2
Brian Wilkerson
Is there a reason to create a new class rather than just change ContentCache? It ...
4 years, 1 month ago (2016-11-01 19:41:54 UTC) #3
scheglov
On 2016/11/01 19:41:54, Brian Wilkerson wrote: > Is there a reason to create a new ...
4 years, 1 month ago (2016-11-01 19:45:35 UTC) #4
scheglov
4 years, 1 month ago (2016-11-01 19:46:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5ba0fac0195139fb8a3624f194074980a0d108c1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698