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

Issue 23983026: Fill in type arguments when creating an object from the mirrors or embedding API. (Closed)

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

Description

Fill in type arguments when creating an object from the mirrors or embedding API. BUG=http://dartbug.com/13186 BUG=http://dartbug.com/12921 R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=27417

Patch Set 1 #

Total comments: 4

Patch Set 2 : RareType #

Total comments: 1

Patch Set 3 : const, rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -65 lines) Patch
M runtime/lib/mirrors.cc View 1 16 chunks +42 lines, -56 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 7 chunks +11 lines, -7 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 chunks +12 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/mirrors/new_instance_with_type_arguments_test.dart View 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
https://codereview.chromium.org/23983026/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (left): https://codereview.chromium.org/23983026/diff/1/runtime/lib/mirrors.cc#oldcode33 runtime/lib/mirrors.cc:33: static RawAbstractType* RawTypeOfClass(const Class& cls) { Moved to a ...
7 years, 3 months ago (2013-09-11 21:10:21 UTC) #1
regis
https://codereview.chromium.org/23983026/diff/1/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/23983026/diff/1/runtime/lib/mirrors.cc#newcode1167 runtime/lib/mirrors.cc:1167: new_object.SetTypeArguments(type_arguments); Who is checking that this type_argument vector has ...
7 years, 3 months ago (2013-09-11 21:37:40 UTC) #2
rmacnak
Renamed BasicType to RareType. Ensured that all ClassMirrors have a Type, regardless of whether they ...
7 years, 3 months ago (2013-09-12 00:03:26 UTC) #3
regis
LGTM https://codereview.chromium.org/23983026/diff/7001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/23983026/diff/7001/runtime/vm/object.cc#newcode1516 runtime/vm/object.cc:1516: Type& type = Type::Handle(Type::New(*this, const Type& type ...
7 years, 3 months ago (2013-09-12 00:30:06 UTC) #4
rmacnak
On 2013/09/12 00:30:06, regis wrote: > LGTM > > https://codereview.chromium.org/23983026/diff/7001/runtime/vm/object.cc > File runtime/vm/object.cc (right): > ...
7 years, 3 months ago (2013-09-12 00:46:07 UTC) #5
rmacnak
7 years, 3 months ago (2013-09-12 00:48:30 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r27417 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698