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

Issue 23604003: Support named and optional positional arguments in reflective invocation. (Closed)

Created:
7 years, 3 months ago by rmacnak
Modified:
7 years, 3 months ago
Reviewers:
ahe, regis, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Michael Lippautz (Google)
Visibility:
Public.

Description

Support named and optional positional arguments in reflective invocation. R=ahe@google.com, regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=27134

Patch Set 1 #

Patch Set 2 : also allow named arguments in newInstance #

Patch Set 3 : cleanup #

Patch Set 4 : named arguments for ClosureMirror.apply #

Patch Set 5 : fix test #

Patch Set 6 : rebase, mark failure on dart2js #

Total comments: 4

Patch Set 7 : rebase, address comments #

Patch Set 8 : rebase #

Total comments: 4

Patch Set 9 : fix wrong variable in async unwrap error message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+849 lines, -223 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 5 6 7 13 chunks +134 lines, -93 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 5 6 7 8 11 chunks +121 lines, -59 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -5 lines 0 comments Download
M runtime/vm/dart_entry.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M runtime/vm/dart_entry.cc View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -4 lines 0 comments Download
A tests/lib/mirrors/invoke_named_test.dart View 1 2 3 4 1 chunk +584 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
7 years, 3 months ago (2013-08-27 23:46:46 UTC) #1
siva
Adding Regis to the review list.
7 years, 3 months ago (2013-08-29 00:16:29 UTC) #2
regis
LGTM https://codereview.chromium.org/23604003/diff/12001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/23604003/diff/12001/runtime/lib/mirrors.cc#newcode736 runtime/lib/mirrors.cc:736: // Note "arguments" is already the internal arguments ...
7 years, 3 months ago (2013-08-29 23:31:31 UTC) #3
ahe
Nice test which LGTM! Did look carefully at the changes to runtime. https://codereview.chromium.org/23604003/diff/20001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart ...
7 years, 3 months ago (2013-09-04 12:52:18 UTC) #4
rmacnak
https://codereview.chromium.org/23604003/diff/20001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/23604003/diff/20001/runtime/lib/mirrors_impl.dart#newcode107 runtime/lib/mirrors_impl.dart:107: throw "named argument ${_n(name)} ($arg) was not a simple ...
7 years, 3 months ago (2013-09-04 17:12:04 UTC) #5
rmacnak
7 years, 3 months ago (2013-09-04 17:12:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #9 manually as r27134 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698