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

Issue 184823012: [pub] clean up Editor messages (Closed)

Created:
6 years, 9 months ago by Jennifer Messerly
Modified:
6 years, 9 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

[pub] clean up Editor messages * missing returns * unused imports R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=33298

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -49 lines) Patch
M sdk/lib/_internal/pub/lib/src/command.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/cache_add.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/cache_list.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/help.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/upgrade.dart View 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/version.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/git.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/package.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/pubspec.dart View 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/source.dart View 1 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/version.dart View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/build/copies_browser_js_next_to_entrypoints_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/oauth2/with_server_rejected_credentials_authenticates_again_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/serve/roots/serves_urls_from_custom_roots_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/serve/roots/throws_an_error_by_default_if_web_and_test_dont_exist_test.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/roots/throws_an_error_if_custom_roots_are_outside_package_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/roots/throws_an_error_if_custom_roots_dont_exist_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/serve/serves_index_html_for_directories_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/test_pub.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/does_not_compile_until_its_output_is_requested_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_command_line_options_type_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_environment_type_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/does_not_support_invalid_option_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/dart2js/doesnt_support_invalid_type_for_boolean_option_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/detects_a_transformer_cycle_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/detects_an_ordering_dependency_cycle_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/exclusion/works_on_transformer_group_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/fails_to_load_a_non_existent_transform_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/fails_to_load_a_pubspec_with_reserved_transformer_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/prints_a_transform_error_in_apply_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/test/transformer/prints_a_transform_interface_error_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Jennifer Messerly
Noticed a few warnings/infos/whatever-theyre-called while browsing Pub sources. Thought I'd send a patch :)
6 years, 9 months ago (2014-03-04 03:56:36 UTC) #1
Bob Nystrom
A couple of tweaks then LGTM. Thank you! https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/barback/server.dart File sdk/lib/_internal/pub/lib/src/barback/server.dart (right): https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/barback/server.dart#newcode89 sdk/lib/_internal/pub/lib/src/barback/server.dart:89: return ...
6 years, 9 months ago (2014-03-04 17:08:44 UTC) #2
Jennifer Messerly
https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart File sdk/lib/_internal/pub/lib/src/version.dart (right): https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart#newcode366 sdk/lib/_internal/pub/lib/src/version.dart:366: return null; On 2014/03/04 17:08:44, Bob Nystrom wrote: > ...
6 years, 9 months ago (2014-03-04 19:19:26 UTC) #3
Bob Nystrom
https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart File sdk/lib/_internal/pub/lib/src/version.dart (right): https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart#newcode366 sdk/lib/_internal/pub/lib/src/version.dart:366: return null; On 2014/03/04 19:19:27, John Messerly wrote: > ...
6 years, 9 months ago (2014-03-04 19:30:58 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart File sdk/lib/_internal/pub/lib/src/version.dart (right): https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/version.dart#newcode366 sdk/lib/_internal/pub/lib/src/version.dart:366: return null; On 2014/03/04 19:30:58, Bob Nystrom wrote: > ...
6 years, 9 months ago (2014-03-04 20:00:58 UTC) #5
Jennifer Messerly
By the way -- to get Pub opened in the editor I had to create ...
6 years, 9 months ago (2014-03-04 20:08:19 UTC) #6
Jennifer Messerly
Committed patchset #4 manually as r33298 (presubmit successful).
6 years, 9 months ago (2014-03-04 20:32:20 UTC) #7
Bob Nystrom
https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/barback/server.dart File sdk/lib/_internal/pub/lib/src/barback/server.dart (right): https://codereview.chromium.org/184823012/diff/1/sdk/lib/_internal/pub/lib/src/barback/server.dart#newcode89 sdk/lib/_internal/pub/lib/src/barback/server.dart:89: return null; On 2014/03/04 20:08:20, John Messerly wrote: > ...
6 years, 9 months ago (2014-03-04 20:45:21 UTC) #8
Bob Nystrom
6 years, 9 months ago (2014-03-04 20:46:04 UTC) #9
Message was sent while issue was closed.
On 2014/03/04 20:08:19, John Messerly wrote:
> By the way -- to get Pub opened in the editor I had to create a fake
> pubspec.yaml, otherwise analyzer refused to recognize my "package:" imports,
> even though I had a "packages" symlink in there.
> 
> Do you think we could add a fake pubspec.yaml to the root of Pub? Or is it an
> Editor bug that it requires that, since Dart VM will recognize "packages/"
> regardless of the existence of pubspec.yaml?

You shouldn't have to create a pubspec, you can just specify an explicit package
root, which is what I do.

- bob

Powered by Google App Engine
This is Rietveld 408576698