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

Issue 1776023002: Add AnalysisContext.onResultInvalidated(descriptor). (Closed)

Created:
4 years, 9 months ago by scheglov
Modified:
4 years, 9 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add AnalysisContext.onResultInvalidated(descriptor). This method will be used to remove index entries corresponding to invalidated resolved units. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/3af20476d137b4eb3bec75441001fd846c24f77e

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixes for review comments. #

Total comments: 1

Patch Set 3 : Replace with ResultChangedEvent. #

Patch Set 4 : Update Analysis Server. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -35 lines) Patch
M pkg/analysis_server/lib/plugin/analysis/analysis_domain.dart View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/domain_analysis.dart View 1 2 3 3 chunks +10 lines, -9 lines 0 comments Download
M pkg/analysis_server/test/plugin/set_analysis_domain_test.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/context/cache.dart View 1 2 chunks +5 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 1 2 3 chunks +34 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 1 2 3 5 chunks +58 lines, -2 lines 2 comments Download
M pkg/analyzer/lib/src/task/driver.dart View 1 2 3 chunks +10 lines, -11 lines 0 comments Download
M pkg/analyzer/test/generated/engine_test.dart View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 2 2 chunks +50 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
scheglov
4 years, 9 months ago (2016-03-08 17:29:13 UTC) #1
Brian Wilkerson
https://codereview.chromium.org/1776023002/diff/1/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1776023002/diff/1/pkg/analyzer/lib/src/generated/engine.dart#newcode2070 pkg/analyzer/lib/src/generated/engine.dart:2070: class InvalidatedResult<V> { Maybe rename to InvalidatedResultEvent? https://codereview.chromium.org/1776023002/diff/1/pkg/analyzer/lib/src/generated/engine.dart#newcode2074 pkg/analyzer/lib/src/generated/engine.dart:2074: ...
4 years, 9 months ago (2016-03-08 17:54:31 UTC) #2
scheglov
PTAL https://codereview.chromium.org/1776023002/diff/1/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1776023002/diff/1/pkg/analyzer/lib/src/generated/engine.dart#newcode2070 pkg/analyzer/lib/src/generated/engine.dart:2070: class InvalidatedResult<V> { On 2016/03/08 17:54:31, Brian Wilkerson ...
4 years, 9 months ago (2016-03-08 18:24:45 UTC) #3
Brian Wilkerson
https://codereview.chromium.org/1776023002/diff/20001/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1776023002/diff/20001/pkg/analyzer/lib/src/generated/engine.dart#newcode2071 pkg/analyzer/lib/src/generated/engine.dart:2071: class InvalidatedResultEvent<V> { Given that it's now identical to ...
4 years, 9 months ago (2016-03-08 18:36:36 UTC) #4
scheglov
PTAL
4 years, 9 months ago (2016-03-08 20:33:27 UTC) #5
Brian Wilkerson
LGTM https://codereview.chromium.org/1776023002/diff/60001/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1776023002/diff/60001/pkg/analyzer/lib/src/generated/engine.dart#newcode2463 pkg/analyzer/lib/src/generated/engine.dart:2463: String toString() => '$descriptor of $target'; " in ...
4 years, 9 months ago (2016-03-08 20:47:02 UTC) #6
scheglov
https://codereview.chromium.org/1776023002/diff/60001/pkg/analyzer/lib/src/generated/engine.dart File pkg/analyzer/lib/src/generated/engine.dart (right): https://codereview.chromium.org/1776023002/diff/60001/pkg/analyzer/lib/src/generated/engine.dart#newcode2463 pkg/analyzer/lib/src/generated/engine.dart:2463: String toString() => '$descriptor of $target'; On 2016/03/08 20:47:02, ...
4 years, 9 months ago (2016-03-08 20:53:46 UTC) #7
scheglov
4 years, 9 months ago (2016-03-08 20:55:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
3af20476d137b4eb3bec75441001fd846c24f77e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698