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

Issue 22918025: Make Invocation.positionalArguments and .namedArguments never be null. (Closed)

Created:
7 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 3 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Make Invocation.positionalArguments and .namedArguments never be null. In the cases where they were previously null, they are now an empty list or map. The list or map should always be unmodifiable, but the non-empty ones aren't yet. BUG= http://dartbug.com/6357 R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=26635

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -16 lines) Patch
M runtime/lib/invocation_mirror_patch.dart View 2 chunks +8 lines, -1 line 0 comments Download
M sdk/lib/_internal/lib/js_helper.dart View 1 chunk +7 lines, -5 lines 0 comments Download
M sdk/lib/core/invocation.dart View 1 2 chunks +14 lines, -5 lines 0 comments Download
M tests/language/invocation_mirror_test.dart View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein Nielsen
7 years, 4 months ago (2013-08-23 13:58:23 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/22918025/diff/1/sdk/lib/core/invocation.dart File sdk/lib/core/invocation.dart (right): https://codereview.chromium.org/22918025/diff/1/sdk/lib/core/invocation.dart#newcode21 sdk/lib/core/invocation.dart:21: * If the member is a getter, the ...
7 years, 4 months ago (2013-08-23 16:10:03 UTC) #2
Lasse Reichstein Nielsen
7 years, 3 months ago (2013-08-26 10:57:50 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r26635 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698