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

Issue 1670353002: Enforce LinkedReference.dependency == 0 for contained entities. (Closed)

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

Description

Enforce LinkedReference.dependency == 0 for contained entities. This was always the intention, but it didn't wind up getting implemented as intended due to lack of testing. This CL adds testing and fixes the implementation. Note that there is no effect on resynthesis, since resynthesis only consults LinkedReference.dependency for top level entities. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/1995031845b3acd9db3af845e549052eb31b1b50

Patch Set 1 #

Patch Set 2 : Add a switch case to clarify. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -25 lines) Patch
M pkg/analyzer/lib/src/summary/format.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/summary/idl.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/summary/prelink.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/summary/summarize_elements.dart View 2 chunks +7 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/summary/prelinker_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_ast_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summarize_elements_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/test/src/summary/summary_common.dart View 1 11 chunks +62 lines, -18 lines 2 comments Download

Messages

Total messages: 6 (2 generated)
Paul Berry
4 years, 10 months ago (2016-02-05 21:10:27 UTC) #2
scheglov
LGTM https://codereview.chromium.org/1670353002/diff/20001/pkg/analyzer/test/src/summary/summary_common.dart File pkg/analyzer/test/src/summary/summary_common.dart (right): https://codereview.chromium.org/1670353002/diff/20001/pkg/analyzer/test/src/summary/summary_common.dart#newcode5395 pkg/analyzer/test/src/summary/summary_common.dart:5395: case ReferenceKind.typedef: The list of case(s) is almost ...
4 years, 10 months ago (2016-02-05 21:15:13 UTC) #3
Paul Berry
https://codereview.chromium.org/1670353002/diff/20001/pkg/analyzer/test/src/summary/summary_common.dart File pkg/analyzer/test/src/summary/summary_common.dart (right): https://codereview.chromium.org/1670353002/diff/20001/pkg/analyzer/test/src/summary/summary_common.dart#newcode5395 pkg/analyzer/test/src/summary/summary_common.dart:5395: case ReferenceKind.typedef: On 2016/02/05 21:15:13, scheglov wrote: > The ...
4 years, 10 months ago (2016-02-05 21:19:17 UTC) #4
Paul Berry
4 years, 10 months ago (2016-02-05 21:19:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1995031845b3acd9db3af845e549052eb31b1b50 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698