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

Issue 805783004: Fix getAnalysisContextForSource. (Closed)

Created:
6 years ago by Paul Berry
Modified:
6 years ago
CC:
reviews_dartlang.org, Brian Wilkerson
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Fix getAnalysisContextForSource. Previously this function was always returning the first context; as a result completions were only being precomputed for the first context. There were probably subtle breakages in other features as well, though I'm not aware of any specific problems. R=danrubel@google.com Committed: https://code.google.com/p/dart/source/detail?r=42401

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 8 (2 generated)
Paul Berry
6 years ago (2014-12-15 19:54:15 UTC) #2
Brian Wilkerson
https://codereview.chromium.org/805783004/diff/1/pkg/analysis_server/lib/src/analysis_server.dart File pkg/analysis_server/lib/src/analysis_server.dart (right): https://codereview.chromium.org/805783004/diff/1/pkg/analysis_server/lib/src/analysis_server.dart#newcode300 pkg/analysis_server/lib/src/analysis_server.dart:300: if (kind != SourceKind.UNKNOWN) { I don't think this ...
6 years ago (2014-12-15 20:26:53 UTC) #4
danrubel
+1 for a new test
6 years ago (2014-12-15 20:37:09 UTC) #5
danrubel
Per discussion LGTM
6 years ago (2014-12-16 08:05:44 UTC) #6
Paul Berry
On 2014/12/15 20:26:53, Brian Wilkerson wrote: > https://codereview.chromium.org/805783004/diff/1/pkg/analysis_server/lib/src/analysis_server.dart > File pkg/analysis_server/lib/src/analysis_server.dart (right): > > https://codereview.chromium.org/805783004/diff/1/pkg/analysis_server/lib/src/analysis_server.dart#newcode300 ...
6 years ago (2014-12-16 17:08:03 UTC) #7
Paul Berry
6 years ago (2014-12-16 17:11:30 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as 42401 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698