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 2171673002: Fix for limited invalidation in the middle, and the unlimited invalidation for an exported library. (Closed)

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

Fix for limited invalidation in the middle, and the unlimited invalidation for an exported library. Consider libraries `A`, `B`, and `C`, where `C` imports `B`, and `B` exports `A`. [RESOLVED_UNIT4] of `C` depends on [LIBRARY_ELEMENT4] of [IMPORTED_LIBRARIES], i.e. `B`. Even though [LIBRARY_ELEMENT4] of `B` depends on [LIBRARY_ELEMENT3]s of its [EXPORT_SOURCE_CLOSURE] (i.e. `A` and `B`), [RESOLVED_UNIT4] of `C` sees only [LIBRARY_ELEMENT4] of `B`. When invalidate results of `B` (but keep results of `C`), we will invalidate and remove [LIBRARY_ELEMENT4] of `B`, so we lose knowledge that [RESOLVED_UNIT4] of `C` indirectly depends on `A`. The solution is do depend on [EXPORT_SOURCE_CLOSURE] of all [IMPORTED_LIBRARIES] in [RESOLVED_UNIT4] of `C`. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/fa854d41f6eec36d4c31ab8a6d92fbc48c68e593

Patch Set 1 #

Patch Set 2 : Update tasks. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M pkg/analyzer/doc/tasks.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/dart.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/context/context_test.dart View 1 chunk +49 lines, -0 lines 0 comments Download
M pkg/analyzer/tool/task_dependency_graph/tasks.dot View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 5 months ago (2016-07-21 04:09:29 UTC) #1
Brian Wilkerson
lgtm
4 years, 5 months ago (2016-07-21 13:50:41 UTC) #2
scheglov
4 years, 5 months ago (2016-07-21 14:26:52 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fa854d41f6eec36d4c31ab8a6d92fbc48c68e593 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698