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

Issue 243793005: Don't require Transformer methods to return Futures. (Closed)

Created:
6 years, 8 months ago by nweiz
Modified:
6 years, 8 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't require Transformer methods to return Futures. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=35280

Patch Set 1 #

Total comments: 12

Patch Set 2 : code review #

Patch Set 3 : code review #

Total comments: 2

Patch Set 4 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -173 lines) Patch
M pkg/barback/CHANGELOG.md View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/barback/lib/src/declaring_transformer.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M pkg/barback/lib/src/transformer.dart View 1 2 chunks +11 lines, -5 lines 0 comments Download
M pkg/barback/test/package_graph/transform/transform_test.dart View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/barback/test/transformer/bad.dart View 2 chunks +9 lines, -14 lines 0 comments Download
M pkg/barback/test/transformer/bad_log.dart View 2 chunks +8 lines, -13 lines 0 comments Download
M pkg/barback/test/transformer/catch_asset_not_found.dart View 2 chunks +1 line, -3 lines 0 comments Download
M pkg/barback/test/transformer/check_content.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/check_content_and_rename.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/barback/test/transformer/create_asset.dart View 2 chunks +4 lines, -9 lines 0 comments Download
M pkg/barback/test/transformer/declare_assets.dart View 2 chunks +7 lines, -14 lines 0 comments Download
M pkg/barback/test/transformer/declaring_bad.dart View 2 chunks +8 lines, -15 lines 0 comments Download
M pkg/barback/test/transformer/declaring_rewrite.dart View 2 chunks +1 line, -3 lines 0 comments Download
M pkg/barback/test/transformer/emit_nothing.dart View 2 chunks +4 lines, -5 lines 0 comments Download
M pkg/barback/test/transformer/has_input.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_assets.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/lazy_bad.dart View 2 chunks +8 lines, -15 lines 0 comments Download
M pkg/barback/test/transformer/lazy_many_to_one.dart View 2 chunks +1 line, -3 lines 0 comments Download
M pkg/barback/test/transformer/lazy_rewrite.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/log.dart View 1 chunk +14 lines, -16 lines 0 comments Download
M pkg/barback/test/transformer/many_to_one.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/barback/test/transformer/mock.dart View 1 1 chunk +8 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/one_to_many.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/barback/test/transformer/rewrite.dart View 1 chunk +1 line, -2 lines 0 comments Download
A pkg/barback/test/transformer/sync_rewrite.dart View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M pkg/barback/test/transformer_test.dart View 1 3 chunks +11 lines, -18 lines 0 comments Download
M pkg/barback/test/utils.dart View 1 2 2 chunks +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart View 2 chunks +9 lines, -5 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 2 chunks +4 lines, -5 lines 0 comments Download
A + sdk/lib/_internal/pub/test/transformer/supports_a_transformer_that_doesnt_return_futures_test.dart View 2 chunks +11 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
nweiz
6 years, 8 months ago (2014-04-21 22:08:53 UTC) #1
Bob Nystrom
https://codereview.chromium.org/243793005/diff/1/pkg/barback/lib/src/declaring_transformer.dart File pkg/barback/lib/src/declaring_transformer.dart (right): https://codereview.chromium.org/243793005/diff/1/pkg/barback/lib/src/declaring_transformer.dart#newcode26 pkg/barback/lib/src/declaring_transformer.dart:26: /// until that [Future] completes. I think we need ...
6 years, 8 months ago (2014-04-21 22:32:23 UTC) #2
nweiz
https://codereview.chromium.org/243793005/diff/1/pkg/barback/lib/src/declaring_transformer.dart File pkg/barback/lib/src/declaring_transformer.dart (right): https://codereview.chromium.org/243793005/diff/1/pkg/barback/lib/src/declaring_transformer.dart#newcode26 pkg/barback/lib/src/declaring_transformer.dart:26: /// until that [Future] completes. On 2014/04/21 22:32:23, Bob ...
6 years, 8 months ago (2014-04-21 22:46:24 UTC) #3
Bob Nystrom
https://codereview.chromium.org/243793005/diff/1/pkg/barback/test/transformer/bad.dart File pkg/barback/test/transformer/bad.dart (right): https://codereview.chromium.org/243793005/diff/1/pkg/barback/test/transformer/bad.dart#newcode13 pkg/barback/test/transformer/bad.dart:13: class BadTransformer extends MockTransformer { On 2014/04/21 22:46:24, nweiz ...
6 years, 8 months ago (2014-04-21 23:37:59 UTC) #4
nweiz
https://codereview.chromium.org/243793005/diff/1/pkg/barback/test/transformer/bad.dart File pkg/barback/test/transformer/bad.dart (right): https://codereview.chromium.org/243793005/diff/1/pkg/barback/test/transformer/bad.dart#newcode13 pkg/barback/test/transformer/bad.dart:13: class BadTransformer extends MockTransformer { On 2014/04/21 23:38:00, Bob ...
6 years, 8 months ago (2014-04-21 23:49:41 UTC) #5
Bob Nystrom
LGTM. https://codereview.chromium.org/243793005/diff/30001/pkg/barback/test/package_graph/transform/transform_test.dart File pkg/barback/test/package_graph/transform/transform_test.dart (right): https://codereview.chromium.org/243793005/diff/30001/pkg/barback/test/package_graph/transform/transform_test.dart#newcode345 pkg/barback/test/package_graph/transform/transform_test.dart:345: test("gets a asset transformed by a sync transformer", ...
6 years, 8 months ago (2014-04-22 18:23:49 UTC) #6
nweiz
https://codereview.chromium.org/243793005/diff/30001/pkg/barback/test/package_graph/transform/transform_test.dart File pkg/barback/test/package_graph/transform/transform_test.dart (right): https://codereview.chromium.org/243793005/diff/30001/pkg/barback/test/package_graph/transform/transform_test.dart#newcode345 pkg/barback/test/package_graph/transform/transform_test.dart:345: test("gets a asset transformed by a sync transformer", () ...
6 years, 8 months ago (2014-04-22 19:57:56 UTC) #7
nweiz
6 years, 8 months ago (2014-04-22 19:59:45 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r35280 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698