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

Issue 21624006: ParameterMirror: Implement some missing getters. (Closed)

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

Description

ParameterMirror: Implement some missing getters. Fixes issue 11334 and issue 11684 and issue 11567. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=26086

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Added TODOs with proper bugs. #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -29 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 3 chunks +29 lines, -17 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 3 chunks +14 lines, -6 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M tests/lib/mirrors/stringify.dart View 1 2 3 4 5 6 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Michael Lippautz (Google)
This is as far as we can get without reparsing or storing additional information on ...
7 years, 4 months ago (2013-08-01 22:00:14 UTC) #1
rmacnak
https://codereview.chromium.org/21624006/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/21624006/diff/1/runtime/lib/mirrors.cc#newcode330 runtime/lib/mirrors.cc:330: GET_NON_NULL_NATIVE_ARGUMENT(Instance, owner, arguments->NativeArgAt(1)); Flip the order of the arguments ...
7 years, 4 months ago (2013-08-02 00:50:19 UTC) #2
Michael Lippautz (Google)
https://codereview.chromium.org/21624006/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/21624006/diff/1/runtime/lib/mirrors.cc#newcode330 runtime/lib/mirrors.cc:330: GET_NON_NULL_NATIVE_ARGUMENT(Instance, owner, arguments->NativeArgAt(1)); On 2013/08/02 00:50:19, Ryan Macnak wrote: ...
7 years, 4 months ago (2013-08-02 17:05:44 UTC) #3
Michael Lippautz (Google)
+Peter Peter: We already have a test for these changes (lib/mirrors/parameter_test), but we still fail ...
7 years, 4 months ago (2013-08-06 22:13:58 UTC) #4
siva
https://codereview.chromium.org/21624006/diff/6001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/21624006/diff/6001/runtime/lib/mirrors.cc#newcode57 runtime/lib/mirrors.cc:57: func.NumOptionalNamedParameters(); I would probably write this code as follows ...
7 years, 4 months ago (2013-08-06 23:54:54 UTC) #5
Michael Lippautz (Google)
Thanks for making this more readable! https://codereview.chromium.org/21624006/diff/6001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/21624006/diff/6001/runtime/lib/mirrors.cc#newcode57 runtime/lib/mirrors.cc:57: func.NumOptionalNamedParameters(); On 2013/08/06 ...
7 years, 4 months ago (2013-08-07 00:21:42 UTC) #6
siva
lgtm
7 years, 4 months ago (2013-08-07 00:36:31 UTC) #7
ahe
Suggestion for a test: Create a class with methods that you want to reflect on. ...
7 years, 4 months ago (2013-08-12 18:19:55 UTC) #8
Michael Lippautz (Google)
On 2013/08/12 18:19:55, ahe wrote: > Suggestion for a test: > > Create a class ...
7 years, 4 months ago (2013-08-12 19:34:20 UTC) #9
ahe
Test looks good! https://codereview.chromium.org/21624006/diff/26006/tests/lib/mirrors/stringify.dart File tests/lib/mirrors/stringify.dart (right): https://codereview.chromium.org/21624006/diff/26006/tests/lib/mirrors/stringify.dart#newcode70 tests/lib/mirrors/stringify.dart:70: // the VM and dart2js. Remove ...
7 years, 4 months ago (2013-08-13 21:32:55 UTC) #10
Michael Lippautz (Google)
https://codereview.chromium.org/21624006/diff/26006/tests/lib/mirrors/stringify.dart File tests/lib/mirrors/stringify.dart (right): https://codereview.chromium.org/21624006/diff/26006/tests/lib/mirrors/stringify.dart#newcode70 tests/lib/mirrors/stringify.dart:70: // the VM and dart2js. On 2013/08/13 21:32:55, ahe ...
7 years, 4 months ago (2013-08-13 21:37:09 UTC) #11
Michael Lippautz (Google)
7 years, 4 months ago (2013-08-13 21:38:41 UTC) #12
Message was sent while issue was closed.
Committed patchset #7 manually as r26086 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698