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

Issue 112473002: Don't crash if a failed dependency is in the root package. (Closed)

Created:
7 years ago by Bob Nystrom
Modified:
7 years ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't crash if a failed dependency is in the root package. BUG=https://code.google.com/p/dart/issues/detail?id=15550 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=31071

Patch Set 1 #

Total comments: 2

Patch Set 2 : Revise. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart View 1 1 chunk +12 lines, -8 lines 0 comments Download
M sdk/lib/_internal/pub/test/version_solver_test.dart View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Bob Nystrom
7 years ago (2013-12-11 05:19:36 UTC) #1
nweiz
lgtm https://codereview.chromium.org/112473002/diff/1/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart File sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart (right): https://codereview.chromium.org/112473002/diff/1/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart#newcode302 sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart:302: addDependencies(String name, Iterable<PackageDep> deps) { I'm not a ...
7 years ago (2013-12-11 06:55:18 UTC) #2
Bob Nystrom
Committed patchset #2 manually as r31071 (presubmit successful).
7 years ago (2013-12-11 17:35:24 UTC) #3
Bob Nystrom
7 years ago (2013-12-11 17:35:37 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/112473002/diff/1/sdk/lib/_internal/pub/lib/sr...
File sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart (right):

https://codereview.chromium.org/112473002/diff/1/sdk/lib/_internal/pub/lib/sr...
sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart:302:
addDependencies(String name, Iterable<PackageDep> deps) {
On 2013/12/11 06:55:18, nweiz wrote:
> I'm not a big fan of type-annotating parameters to local functions, since we
> don't type-annotate anything else that's strictly local.

Done. Not sure what I was thinking.

Powered by Google App Engine
This is Rietveld 408576698