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

Issue 25674017: Fix runtimeType for strings, integers and double: return their interface type. (Closed)

Created:
7 years, 2 months ago by srdjan
Modified:
7 years, 2 months ago
Reviewers:
rmacnak, siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Ivan Posva
Visibility:
Public.

Description

Fix runtimeType for strings, integers and double: return their interface type. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=28286

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M runtime/lib/double.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/lib/integers.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/lib/mirrors.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/object.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/language/language.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
srdjan
7 years, 2 months ago (2013-10-04 15:47:28 UTC) #1
siva
LGTM I was wondering why not do the same for other standard types too, would ...
7 years, 2 months ago (2013-10-04 16:35:58 UTC) #2
rmacnak
https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart#newcode345 runtime/lib/mirrors_impl.dart:345: static _computeType(reflectee) => reflectee.runtimeType; Please don't change this. The ...
7 years, 2 months ago (2013-10-04 16:49:56 UTC) #3
siva
https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart#newcode345 runtime/lib/mirrors_impl.dart:345: static _computeType(reflectee) => reflectee.runtimeType; I thought we don't allow ...
7 years, 2 months ago (2013-10-04 16:56:34 UTC) #4
rmacnak
https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart#newcode345 runtime/lib/mirrors_impl.dart:345: static _computeType(reflectee) => reflectee.runtimeType; We don't, and the changes ...
7 years, 2 months ago (2013-10-04 17:11:49 UTC) #5
Ivan Posva
https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart File runtime/lib/mirrors_impl.dart (right): https://codereview.chromium.org/25674017/diff/8001/runtime/lib/mirrors_impl.dart#newcode345 runtime/lib/mirrors_impl.dart:345: static _computeType(reflectee) => reflectee.runtimeType; On 2013/10/04 17:11:50, Ryan Macnak ...
7 years, 2 months ago (2013-10-04 17:49:55 UTC) #6
srdjan
Ryan, PTAL
7 years, 2 months ago (2013-10-04 18:44:55 UTC) #7
rmacnak
https://codereview.chromium.org/25674017/diff/17001/runtime/lib/mirrors.cc File runtime/lib/mirrors.cc (right): https://codereview.chromium.org/25674017/diff/17001/runtime/lib/mirrors.cc#newcode1153 runtime/lib/mirrors.cc:1153: if (instance.IsString()) { We are not required to hide ...
7 years, 2 months ago (2013-10-04 21:21:21 UTC) #8
srdjan
7 years, 2 months ago (2013-10-04 22:09:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r28286.

Powered by Google App Engine
This is Rietveld 408576698