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

Issue 2262393003: 'Extract Local' and 'Inline Local' refactoring need only single file analysis. (Closed)

Created:
4 years, 4 months ago by scheglov
Modified:
4 years, 4 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

'Extract Local' and 'Inline Local' refactoring need only single file analysis. We still analyze more than we actually need - we don't need the full RESOLVED_UNIT, we could live with some much lower RESOLVED_UNITx. But it might be fast enough for practical purposes to compute fully resolved units. Maybe we should set up monitoring for refactoring times... R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/90c7698f1bb8ac3f08a747215acb0ded799e7cc5

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -49 lines) Patch
M pkg/analysis_server/lib/src/edit/edit_domain.dart View 15 chunks +62 lines, -5 lines 2 comments Download
M pkg/analysis_server/test/analysis_abstract.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analysis_server/test/edit/refactoring_test.dart View 11 chunks +186 lines, -44 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
4 years, 4 months ago (2016-08-22 22:55:27 UTC) #1
Brian Wilkerson
lgtm https://codereview.chromium.org/2262393003/diff/1/pkg/analysis_server/lib/src/edit/edit_domain.dart File pkg/analysis_server/lib/src/edit/edit_domain.dart (right): https://codereview.chromium.org/2262393003/diff/1/pkg/analysis_server/lib/src/edit/edit_domain.dart#newcode728 pkg/analysis_server/lib/src/edit/edit_domain.dart:728: subscriptionToReset = server.onAnalysisStarted.listen((_) => _reset()); Should we assert ...
4 years, 4 months ago (2016-08-22 23:32:23 UTC) #2
scheglov
https://codereview.chromium.org/2262393003/diff/1/pkg/analysis_server/lib/src/edit/edit_domain.dart File pkg/analysis_server/lib/src/edit/edit_domain.dart (right): https://codereview.chromium.org/2262393003/diff/1/pkg/analysis_server/lib/src/edit/edit_domain.dart#newcode728 pkg/analysis_server/lib/src/edit/edit_domain.dart:728: subscriptionToReset = server.onAnalysisStarted.listen((_) => _reset()); On 2016/08/22 23:32:23, Brian ...
4 years, 4 months ago (2016-08-23 01:55:28 UTC) #3
scheglov
4 years, 4 months ago (2016-08-23 02:00:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
90c7698f1bb8ac3f08a747215acb0ded799e7cc5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698