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

Issue 24005002: Make TypedefMirror a direct descendant of TypeMirror. (Closed)

Created:
7 years, 3 months ago by rmacnak
Modified:
7 years, 2 months ago
Reviewers:
ahe, gbracha, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Make TypedefMirror a direct descendant of TypeMirror. BUG=http://dartbug.com/11616 R=ahe@google.com, asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=28862

Patch Set 1 #

Total comments: 3

Patch Set 2 : whitespace #

Patch Set 3 : typo #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : tab -> space space #

Patch Set 8 : rebase #

Total comments: 6

Patch Set 9 : #

Total comments: 2

Patch Set 10 : #

Patch Set 11 : whitespace #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 2

Patch Set 14 : more use of symbol literals #

Patch Set 15 : merge with generic interfaces and mixins #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -107 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -1 line 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 14 chunks +23 lines, -19 lines 0 comments Download
M runtime/lib/mirrors_patch.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/tests/vm/dart/isolate_mirror_local_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
M sdk/lib/_internal/lib/js_mirrors.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -7 lines 0 comments Download
M sdk/lib/_internal/lib/mirrors_patch.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +8 lines, -2 lines 0 comments Download
M sdk/lib/mirrors/mirrors.dart View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +25 lines, -7 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -0 lines 0 comments Download
M tests/lib/mirrors/function_type_mirror_test.dart View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/mirrors/generic_function_typedef_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M tests/lib/mirrors/mirrors_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +47 lines, -56 lines 0 comments Download
M tests/lib/mirrors/private_symbol_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/mirrors/typedef_metadata_test.dart View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M tests/lib/mirrors/typedef_test.dart View 8 chunks +8 lines, -8 lines 0 comments Download
M tests/lib/mirrors/typevariable_mirror_metadata_test.dart View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
rmacnak
Just enough changes in dart2js to keep tests passing. API agreed to in https://chromiumcodereview.appspot.com/23490019/
7 years, 3 months ago (2013-09-05 23:01:17 UTC) #1
Michael Lippautz (Google)
DBC https://codereview.chromium.org/24005002/diff/1/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/24005002/diff/1/runtime/lib/mirrors_impl.dart#newcode994 runtime/lib/mirrors_impl.dart:994: _types = _filterMap(members, weird alignment https://codereview.chromium.org/24005002/diff/1/runtime/lib/mirrors_impl.dart#newcode1127 runtime/lib/mirrors_impl.dart:1127: _returnType ...
7 years, 3 months ago (2013-09-06 16:58:40 UTC) #2
rmacnak
On 2013/09/06 16:58:40, Michael Lippautz wrote: > DBC > > https://codereview.chromium.org/24005002/diff/1/runtime/lib/mirrors_impl.dart > File runtime/lib/mirrors_impl.dart (right): ...
7 years, 3 months ago (2013-09-09 16:51:20 UTC) #3
rmacnak
Fixed outstanding typo in dartdoc.
7 years, 3 months ago (2013-09-10 20:56:35 UTC) #4
rmacnak
Rebased.
7 years, 3 months ago (2013-09-12 22:40:30 UTC) #5
rmacnak
On 2013/09/12 22:40:30, Ryan Macnak wrote: > Rebased. Ping.
7 years, 3 months ago (2013-09-16 20:20:35 UTC) #6
rmacnak
On 2013/09/16 20:20:35, Ryan Macnak wrote: > On 2013/09/12 22:40:30, Ryan Macnak wrote: > > ...
7 years, 3 months ago (2013-09-19 18:38:39 UTC) #7
rmacnak
Ping.
7 years, 3 months ago (2013-09-24 17:10:17 UTC) #8
rmacnak
-Michael +Gilad Resynced.
7 years, 2 months ago (2013-10-02 20:08:29 UTC) #9
gbracha
Tests and API look good to me, modulo 2 comments. https://codereview.chromium.org/24005002/diff/27001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://codereview.chromium.org/24005002/diff/27001/sdk/lib/mirrors/mirrors.dart#newcode470 ...
7 years, 2 months ago (2013-10-02 22:49:53 UTC) #10
rmacnak
https://codereview.chromium.org/24005002/diff/27001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://codereview.chromium.org/24005002/diff/27001/sdk/lib/mirrors/mirrors.dart#newcode470 sdk/lib/mirrors/mirrors.dart:470: Future<InstanceMirror> getFieldAsync(Symbol fieldName); On 2013/10/02 22:49:53, gbracha wrote: > ...
7 years, 2 months ago (2013-10-03 17:24:47 UTC) #11
rmacnak
Fixing mirrors/generic_function_typedef_test / Issue 12282 is blocked by this CL.
7 years, 2 months ago (2013-10-09 01:31:36 UTC) #12
ahe
LGTM! https://chromiumcodereview.appspot.com/24005002/diff/52001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://chromiumcodereview.appspot.com/24005002/diff/52001/sdk/lib/mirrors/mirrors.dart#newcode675 sdk/lib/mirrors/mirrors.dart:675: Map<Symbol, TypeMirror> get types; This is temporary, right?
7 years, 2 months ago (2013-10-11 10:30:20 UTC) #13
ahe
I only reviewed the dart2js, make sure get someone to look at the runtime changes.
7 years, 2 months ago (2013-10-11 10:30:51 UTC) #14
rmacnak
+Siva for runtime changes Synced with generics substitution changes. https://chromiumcodereview.appspot.com/24005002/diff/52001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://chromiumcodereview.appspot.com/24005002/diff/52001/sdk/lib/mirrors/mirrors.dart#newcode675 sdk/lib/mirrors/mirrors.dart:675: ...
7 years, 2 months ago (2013-10-11 18:06:08 UTC) #15
rmacnak
Resynced with the new tests.
7 years, 2 months ago (2013-10-16 17:37:43 UTC) #16
gbracha
tests still look good, minor comments https://codereview.chromium.org/24005002/diff/74001/tests/lib/mirrors/mirrors_test.dart File tests/lib/mirrors/mirrors_test.dart (right): https://codereview.chromium.org/24005002/diff/74001/tests/lib/mirrors/mirrors_test.dart#newcode243 tests/lib/mirrors/mirrors_test.dart:243: expect(typeVariable.simpleName, equals(const Symbol('T'))); ...
7 years, 2 months ago (2013-10-16 17:51:25 UTC) #17
rmacnak
https://codereview.chromium.org/24005002/diff/74001/tests/lib/mirrors/mirrors_test.dart File tests/lib/mirrors/mirrors_test.dart (right): https://codereview.chromium.org/24005002/diff/74001/tests/lib/mirrors/mirrors_test.dart#newcode243 tests/lib/mirrors/mirrors_test.dart:243: expect(typeVariable.simpleName, equals(const Symbol('T'))); On 2013/10/16 17:51:26, gbracha wrote: > ...
7 years, 2 months ago (2013-10-16 23:50:24 UTC) #18
siva
lgtm
7 years, 2 months ago (2013-10-18 16:44:14 UTC) #19
rmacnak
7 years, 2 months ago (2013-10-18 17:00:11 UTC) #20
Message was sent while issue was closed.
Committed patchset #15 manually as r28862 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698