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

Issue 1854863002: Issue 26096. Explicitly compute the result that ensures that directives are resolved in units. (Closed)

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

Description

Issue 26096. Explicitly compute the result that ensures that directives are resolved in units. In the past computing LIBRARY_ELEMENT2 also set elements for directives in the defining unit AST. But when this unit is flushed and reparsed we didn't set these directive elements again because LIBRARY_ELEMENT2 is valid. Now resolving directive ASTs to elements is an explicit dependency. R=brianwilkerson@google.com, paulberry@google.com BUG= https://github.com/dart-lang/sdk/issues/26096 Committed: https://github.com/dart-lang/sdk/commit/d1104de8db33cdfe0de1e73999ae0331350a51d0

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix for a review comment. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -269 lines) Patch
M pkg/analysis_server/lib/src/analysis_server.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/status/get_handler.dart View 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/context/context.dart View 3 chunks +4 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/plugin/engine_plugin.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/summary/summary_sdk.dart View 1 chunk +2 lines, -2 lines 1 comment Download
M pkg/analyzer/lib/src/task/dart.dart View 80 chunks +205 lines, -110 lines 0 comments Download
M pkg/analyzer/test/generated/incremental_resolver_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 2 chunks +3 lines, -2 lines 0 comments Download
M pkg/analyzer/test/src/task/dart_test.dart View 70 chunks +202 lines, -148 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
scheglov
4 years, 8 months ago (2016-04-01 18:53:02 UTC) #1
Paul Berry
lgtm https://codereview.chromium.org/1854863002/diff/1/pkg/analyzer/test/src/context/context_test.dart File pkg/analyzer/test/src/context/context_test.dart (left): https://codereview.chromium.org/1854863002/diff/1/pkg/analyzer/test/src/context/context_test.dart#oldcode2123 pkg/analyzer/test/src/context/context_test.dart:2123: entry.setState(RESOLVED_UNIT2, CacheState.FLUSHED); Was this line deleted by mistake? ...
4 years, 8 months ago (2016-04-01 19:13:03 UTC) #2
scheglov
https://codereview.chromium.org/1854863002/diff/1/pkg/analyzer/test/src/context/context_test.dart File pkg/analyzer/test/src/context/context_test.dart (left): https://codereview.chromium.org/1854863002/diff/1/pkg/analyzer/test/src/context/context_test.dart#oldcode2123 pkg/analyzer/test/src/context/context_test.dart:2123: entry.setState(RESOLVED_UNIT2, CacheState.FLUSHED); On 2016/04/01 19:13:03, Paul Berry wrote: > ...
4 years, 8 months ago (2016-04-01 19:49:15 UTC) #3
Brian Wilkerson
LGTM, although there are way too many places where the same list of result descriptors ...
4 years, 8 months ago (2016-04-01 20:12:53 UTC) #4
scheglov
Committed patchset #2 (id:20001) manually as d1104de8db33cdfe0de1e73999ae0331350a51d0 (presubmit successful).
4 years, 8 months ago (2016-04-01 21:00:47 UTC) #6
Paul Berry
On 2016/04/01 21:00:47, scheglov wrote: > Committed patchset #2 (id:20001) manually as > d1104de8db33cdfe0de1e73999ae0331350a51d0 (presubmit ...
4 years, 8 months ago (2016-04-03 12:14:36 UTC) #7
scheglov
On 2016/04/03 12:14:36, Paul Berry wrote: > On 2016/04/01 21:00:47, scheglov wrote: > > Committed ...
4 years, 8 months ago (2016-04-03 16:38:23 UTC) #8
scheglov
4 years, 8 months ago (2016-04-03 17:45:13 UTC) #9
Message was sent while issue was closed.
On 2016/04/03 16:38:23, scheglov wrote:
> On 2016/04/03 12:14:36, Paul Berry wrote:
> > On 2016/04/01 21:00:47, scheglov wrote:
> > > Committed patchset #2 (id:20001) manually as
> > > d1104de8db33cdfe0de1e73999ae0331350a51d0 (presubmit successful).
> > 
> > This seems to have broken some unit tests.
> > 
> > Repro: python tools/test.py -aia32 --checked -mrelease -t60
> > pkg/analyzer/test/generated/hint_code_test
> 
> Looking...

https://codereview.chromium.org/1854003003

Powered by Google App Engine
This is Rietveld 408576698