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

Issue 1181003005: Use ArgumentError.value in more places in js_lib. (Closed)

Created:
5 years, 6 months ago by sra1
Modified:
5 years, 6 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use ArgumentError.value in more places in js_lib. Main effect is that more numeric operations will indicate 'null' is the problem argument, e.g. Illegal Arguments(s) --> Illegal Argument: null BUG= R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/773d7b00fbf69ba3cd1eff4058196a0c0e03fc9e

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -58 lines) Patch
M sdk/lib/_internal/compiler/js_lib/convert_patch.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/core_patch.dart View 1 1 chunk +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/js_lib/interceptors.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_array.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_helper.dart View 1 6 chunks +16 lines, -16 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_number.dart View 11 chunks +28 lines, -29 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/js_string.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/js_lib/string_helper.dart View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
sra1
5 years, 6 months ago (2015-06-19 04:13:52 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1181003005/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://codereview.chromium.org/1181003005/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode184 sdk/lib/_internal/compiler/js_lib/core_patch.dart:184: isUtc is bool ? isUtc : throw new ...
5 years, 6 months ago (2015-06-19 12:22:06 UTC) #3
sra1
https://chromiumcodereview.appspot.com/1181003005/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart File sdk/lib/_internal/compiler/js_lib/core_patch.dart (right): https://chromiumcodereview.appspot.com/1181003005/diff/1/sdk/lib/_internal/compiler/js_lib/core_patch.dart#newcode184 sdk/lib/_internal/compiler/js_lib/core_patch.dart:184: isUtc is bool ? isUtc : throw new ArgumentError.value(isUtc), ...
5 years, 6 months ago (2015-06-19 17:58:00 UTC) #4
sra1
5 years, 6 months ago (2015-06-19 18:02:38 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
773d7b00fbf69ba3cd1eff4058196a0c0e03fc9e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698