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

Issue 26777002: Test reflecting on an object that implements Function but has no call method. (Closed)

Created:
7 years, 2 months ago by rmacnak
Modified:
7 years, 1 month ago
Reviewers:
ahe, gbracha, siva
CC:
reviews_dartlang.org, zarah
Visibility:
Public.

Description

Test reflecting on an object that implements Function but has no call method. BUG=http://dartbug.com/13957 R=asiva@google.com, gbracha@google.com Committed: https://code.google.com/p/dart/source/detail?r=29374

Patch Set 1 #

Total comments: 3

Patch Set 2 : revised #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -56 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 2 chunks +7 lines, -8 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/lib.status View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
D tests/lib/mirrors/fake_function_test.dart View 1 1 chunk +0 lines, -44 lines 0 comments Download
A + tests/lib/mirrors/fake_function_with_call_test.dart View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A tests/lib/mirrors/fake_function_without_call_test.dart View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
rmacnak
7 years, 2 months ago (2013-10-10 00:28:45 UTC) #1
gbracha
lgtm
7 years, 2 months ago (2013-10-10 00:40:12 UTC) #2
ahe
https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart File tests/lib/mirrors/fake_function_without_call_test.dart (right): https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart#newcode30 tests/lib/mirrors/fake_function_without_call_test.dart:30: Expect.isFalse(im is ClosureMirror); I thought we had agreed that ...
7 years, 2 months ago (2013-10-10 14:33:51 UTC) #3
rmacnak
https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart File tests/lib/mirrors/fake_function_without_call_test.dart (right): https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart#newcode30 tests/lib/mirrors/fake_function_without_call_test.dart:30: Expect.isFalse(im is ClosureMirror); On 2013/10/10 14:33:51, ahe wrote: > ...
7 years, 2 months ago (2013-10-10 16:24:00 UTC) #4
ahe
https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart File tests/lib/mirrors/fake_function_without_call_test.dart (right): https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart#newcode30 tests/lib/mirrors/fake_function_without_call_test.dart:30: Expect.isFalse(im is ClosureMirror); On 2013/10/10 16:24:00, Ryan Macnak wrote: ...
7 years, 2 months ago (2013-10-10 16:48:55 UTC) #5
gbracha
On 2013/10/10 16:48:55, ahe wrote: > https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart > File tests/lib/mirrors/fake_function_without_call_test.dart (right): > > https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart#newcode30 > ...
7 years, 2 months ago (2013-10-10 19:42:25 UTC) #6
ahe
On 2013/10/10 19:42:25, gbracha wrote: > On 2013/10/10 16:48:55, ahe wrote: > > > https://codereview.chromium.org/26777002/diff/1/tests/lib/mirrors/fake_function_without_call_test.dart ...
7 years, 2 months ago (2013-10-11 12:56:05 UTC) #7
rmacnak
Revised test to expect all objects whose class implements Function will be reflected as closure ...
7 years, 2 months ago (2013-10-23 18:56:52 UTC) #8
gbracha
lgtm
7 years, 2 months ago (2013-10-23 19:04:51 UTC) #9
rmacnak
Found mistake in test (passed extra argument to ClosureMirror.apply). DartEntry::InvokeClosure does in fact work when ...
7 years, 2 months ago (2013-10-24 22:27:05 UTC) #10
rmacnak
Woops, actually add Siva
7 years, 2 months ago (2013-10-24 22:28:49 UTC) #11
siva
lgtm
7 years, 1 month ago (2013-10-28 01:59:03 UTC) #12
rmacnak
7 years, 1 month ago (2013-10-28 17:25:57 UTC) #13
Message was sent while issue was closed.
Committed patchset #5 manually as r29374 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698