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

Issue 838773002: Throw ArgumentError if packageRoot is null. (Closed)

Created:
5 years, 11 months ago by ahe
Modified:
5 years, 11 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/trunk
Visibility:
Public.

Description

Throw ArgumentError if packageRoot is null. R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=42677

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -18 lines) Patch
M dart/pkg/compiler/lib/src/apiimpl.dart View 2 chunks +9 lines, -7 lines 0 comments Download
M dart/pkg/compiler/lib/src/warnings.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M dart/pkg/compiler/samples/jsonify/jsonify.dart View 2 chunks +7 lines, -2 lines 3 comments Download
M dart/tests/compiler/dart2js/mirrors_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M dart/tests/compiler/dart2js/missing_file_test.dart View 2 chunks +2 lines, -1 line 0 comments Download
M dart/tests/compiler/dart2js/package_root_test.dart View 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
ahe
5 years, 11 months ago (2015-01-07 12:37:03 UTC) #2
Johnni Winther
lgtm https://codereview.chromium.org/838773002/diff/1/dart/pkg/compiler/samples/jsonify/jsonify.dart File dart/pkg/compiler/samples/jsonify/jsonify.dart (right): https://codereview.chromium.org/838773002/diff/1/dart/pkg/compiler/samples/jsonify/jsonify.dart#newcode50 dart/pkg/compiler/samples/jsonify/jsonify.dart:50: handler.provider.cwd.resolve(Platform.packageRoot); You need to ensure that the URI ...
5 years, 11 months ago (2015-01-08 08:16:15 UTC) #3
ahe
Thank you, Johnni! Please let me know if you think I'm being stupid for not ...
5 years, 11 months ago (2015-01-08 08:34:44 UTC) #4
ahe
Committed patchset #1 (id:1) manually as 42677 (presubmit successful).
5 years, 11 months ago (2015-01-08 08:36:36 UTC) #5
Johnni Winther
https://codereview.chromium.org/838773002/diff/1/dart/pkg/compiler/samples/jsonify/jsonify.dart File dart/pkg/compiler/samples/jsonify/jsonify.dart (right): https://codereview.chromium.org/838773002/diff/1/dart/pkg/compiler/samples/jsonify/jsonify.dart#newcode50 dart/pkg/compiler/samples/jsonify/jsonify.dart:50: handler.provider.cwd.resolve(Platform.packageRoot); On 2015/01/08 08:34:43, ahe wrote: > On 2015/01/08 ...
5 years, 11 months ago (2015-01-08 09:40:42 UTC) #6
ahe
5 years, 11 months ago (2015-01-08 09:44:02 UTC) #7
Message was sent while issue was closed.
On 2015/01/08 09:40:42, Johnni Winther wrote:
> The problem is really with Platform.packageRoot which should have been a fully
> resolved URI.

I agree. Perhaps we should add "Platform.resolvedPackageRoot".

Powered by Google App Engine
This is Rietveld 408576698