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

Issue 233843002: Don't make lazy transformers eager when an asset is requested. (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 make lazy transformers eager when an asset is requested. Instead, they'll only be active long enough to finish applying, then become lazy again. R=rnystrom@google.com BUG=17903 Committed: https://code.google.com/p/dart/source/detail?r=35055

Patch Set 1 #

Total comments: 13

Patch Set 2 : code review #

Total comments: 10

Patch Set 3 : code review + disabling test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -53 lines) Patch
M pkg/barback/lib/src/asset_node.dart View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 2 12 chunks +79 lines, -33 lines 0 comments Download
M pkg/barback/test/package_graph/declaring_transformer_test.dart View 1 2 1 chunk +13 lines, -12 lines 0 comments Download
M pkg/barback/test/package_graph/lazy_transformer_test.dart View 1 3 chunks +77 lines, -3 lines 0 comments Download
M pkg/barback/test/transformer/declaring_rewrite.dart View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 8 months ago (2014-04-10 21:00:53 UTC) #1
Bob Nystrom
https://codereview.chromium.org/233843002/diff/1/pkg/barback/lib/src/transform_node.dart File pkg/barback/lib/src/transform_node.dart (right): https://codereview.chromium.org/233843002/diff/1/pkg/barback/lib/src/transform_node.dart#newcode55 pkg/barback/lib/src/transform_node.dart:55: /// primary inputs that are themselves lazy. I think ...
6 years, 8 months ago (2014-04-10 22:58:55 UTC) #2
nweiz
While working on your comments, I noticed a couple bugs lurking, so I fixed them ...
6 years, 8 months ago (2014-04-11 00:47:59 UTC) #3
Bob Nystrom
https://codereview.chromium.org/233843002/diff/1/pkg/barback/lib/src/transform_node.dart File pkg/barback/lib/src/transform_node.dart (right): https://codereview.chromium.org/233843002/diff/1/pkg/barback/lib/src/transform_node.dart#newcode66 pkg/barback/lib/src/transform_node.dart:66: bool _awaitingForce; On 2014/04/11 00:47:59, nweiz wrote: > On ...
6 years, 8 months ago (2014-04-14 19:20:25 UTC) #4
nweiz
I realized there was another test here that had only been passing because DeclaringRewriteTransformer was ...
6 years, 8 months ago (2014-04-14 21:55:07 UTC) #5
Bob Nystrom
lgtm
6 years, 8 months ago (2014-04-15 00:11:28 UTC) #6
nweiz
6 years, 8 months ago (2014-04-15 01:08:47 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r35055 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698