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

Issue 1513263002: Support optional package name arguments to --show-package-warnings (Closed)

Created:
5 years ago by Johnni Winther
Modified:
5 years ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Support optional package name arguments to --show-package-warnings In response to dartbug.com/18661 and dartbug.com/21651. Dart2js doesn't know pubspec.yaml or the directory structure but pub does. Next step is to pass arguments from pub. BUG= R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/212ba4afbec225417fa36ceee741bc9f9cb9b616

Patch Set 1 #

Total comments: 6

Patch Set 2 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -36 lines) Patch
M pkg/compiler/lib/src/apiimpl.dart View 2 chunks +19 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/commandline_options.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 3 chunks +6 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart View 1 2 chunks +27 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/library_loader.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/parser/partial_elements.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/show_package_warnings_test.dart View 3 chunks +78 lines, -25 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Johnni Winther
https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/parser/partial_elements.dart File pkg/compiler/lib/src/parser/partial_elements.dart (right): https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/parser/partial_elements.dart#newcode301 pkg/compiler/lib/src/parser/partial_elements.dart:301: return resolution.resolveTypeAnnotation(element, node.type); Bug found during implementation. We could ...
5 years ago (2015-12-10 14:59:04 UTC) #2
Siggi Cherem (dart-lang)
https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart File pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart (right): https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart#newcode57 pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart:57: _shownPackageWarnings.contains(uri.path); should we check for the first segment or ...
5 years ago (2015-12-10 16:21:43 UTC) #3
Johnni Winther
https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart File pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart (right): https://codereview.chromium.org/1513263002/diff/1/pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart#newcode57 pkg/compiler/lib/src/diagnostics/diagnostic_listener.dart:57: _shownPackageWarnings.contains(uri.path); On 2015/12/10 16:21:42, Siggi Cherem (dart-lang) wrote: > ...
5 years ago (2015-12-11 10:33:28 UTC) #4
Johnni Winther
ping
5 years ago (2015-12-14 10:37:14 UTC) #5
Siggi Cherem (dart-lang)
lgtm
5 years ago (2015-12-14 22:32:02 UTC) #6
Johnni Winther
5 years ago (2015-12-15 09:52:27 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
212ba4afbec225417fa36ceee741bc9f9cb9b616 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698