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

Issue 2314933003: Issue 27130. Fix applying changes to .analysis_options on save. (Closed)

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

Description

Issue 27130. Fix applying changes to .analysis_options on save. This fix partially reverts changes made in https://github.com/dart-lang/sdk/commit/de6925a23ebf29cd587dd5f4e214cb277a7397e4 It is correct that we should ignore applyChanges() for sources with content overridden in the content cache. But we cannot know what else happened with results in the analysis cache at this point. So, we should just let Analysis Server to always run analysis, so that Driver and WorkManager(s) will decide if there is anything to do. I believe that the original motivation for the change was to avoid sending extr 'analysis.implemented' notifications. It does not happen anymore, probably because we set other shortcuts using source content. R=brianwilkerson@google.com BUG= https://github.com/dart-lang/sdk/issues/27130 Committed: https://github.com/dart-lang/sdk/commit/7442a85cbb6f5457b6ea4c299ffcf8772b5d8ab3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -49 lines) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M pkg/analysis_server/test/analysis_server_test.dart View 1 chunk +0 lines, -22 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 2 chunks +2 lines, -7 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 2 chunks +1 line, -13 lines 0 comments Download
M pkg/analyzer/test/generated/engine_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 3 months ago (2016-09-06 20:16:32 UTC) #1
Brian Wilkerson
lgtm
4 years, 3 months ago (2016-09-06 20:37:58 UTC) #2
scheglov
4 years, 3 months ago (2016-09-06 20:41:54 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
7442a85cbb6f5457b6ea4c299ffcf8772b5d8ab3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698