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

Issue 2662363002: The file is a library, if it has a 'library' directive. (Closed)

Created:
3 years, 10 months ago by scheglov
Modified:
3 years, 10 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

The file is a library, if it has a 'library' directive. With these changes analyzer_cli with the new analysis driver can pass the same shared tests as the AnalysisContext based analyzer_cli. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/8835fe34fdd31570990e3ec93c4bac274edc7cfb

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M pkg/analyzer/lib/src/dart/analysis/file_state.dart View 1 chunk +3 lines, -2 lines 1 comment Download
M pkg/analyzer/test/src/dart/analysis/file_state_test.dart View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
scheglov
3 years, 10 months ago (2017-01-31 20:16:05 UTC) #1
Brian Wilkerson
https://codereview.chromium.org/2662363002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart File pkg/analyzer/lib/src/dart/analysis/file_state.dart (right): https://codereview.chromium.org/2662363002/diff/1/pkg/analyzer/lib/src/dart/analysis/file_state.dart#newcode197 pkg/analyzer/lib/src/dart/analysis/file_state.dart:197: bool get isPart => _unlinked.libraryNameOffset == 0 && _unlinked.isPartOf; ...
3 years, 10 months ago (2017-01-31 20:33:00 UTC) #2
Brian Wilkerson
After discussion, lgtm.
3 years, 10 months ago (2017-01-31 20:35:06 UTC) #3
scheglov
3 years, 10 months ago (2017-01-31 21:07:02 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8835fe34fdd31570990e3ec93c4bac274edc7cfb (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698