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

Issue 36023003: Add LibraryMirror.declarations and ClassMirror.declarations to the API and both implementations. (Closed)

Created:
7 years, 2 months ago by rmacnak
Modified:
7 years, 1 month ago
Reviewers:
Johnni Winther, ahe, gbracha
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add LibraryMirror.declarations and ClassMirror.declarations to the API and both implementations. Fix bug where partially unmangled names were used in constructor names. Fix bug where type variables were considered static. R=gbracha@google.com, johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=29261

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : typevars are not static #

Total comments: 13

Patch Set 4 : myopic lines #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+690 lines, -2 lines) Patch
M runtime/lib/mirrors_impl.dart View 1 2 3 4 chunks +20 lines, -1 line 0 comments Download
M sdk/lib/_internal/lib/js_mirrors.dart View 1 2 3 4 chunks +26 lines, -0 lines 0 comments Download
M sdk/lib/mirrors/mirrors.dart View 1 2 3 3 chunks +21 lines, -1 line 0 comments Download
M tests/lib/lib.status View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A tests/lib/mirrors/class_declarations_test.dart View 1 2 3 1 chunk +332 lines, -0 lines 0 comments Download
A tests/lib/mirrors/declarations_model.dart View 1 2 3 1 chunk +166 lines, -0 lines 0 comments Download
A tests/lib/mirrors/library_declarations_test.dart View 1 2 3 1 chunk +122 lines, -0 lines 0 comments Download
M tests/lib/mirrors/stringify.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rmacnak
Starting a new CL because Rietveld seem to have trouble matching the base files for ...
7 years, 2 months ago (2013-10-22 21:40:03 UTC) #1
gbracha
tests lgtm with comments https://codereview.chromium.org/36023003/diff/70001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://codereview.chromium.org/36023003/diff/70001/sdk/lib/mirrors/mirrors.dart#newcode802 sdk/lib/mirrors/mirrors.dart:802: Map<Symbol, DeclarationMirror> get declarations; So, ...
7 years, 2 months ago (2013-10-22 22:26:50 UTC) #2
rmacnak
https://codereview.chromium.org/36023003/diff/70001/tests/lib/mirrors/class_declarations_test.dart File tests/lib/mirrors/class_declarations_test.dart (right): https://codereview.chromium.org/36023003/diff/70001/tests/lib/mirrors/class_declarations_test.dart#newcode75 tests/lib/mirrors/class_declarations_test.dart:75: ['TypeVariable(s(C) in s(Class), upperBound = Class(s(Object) in s(dart.core), top-level))', ...
7 years, 2 months ago (2013-10-22 22:44:56 UTC) #3
rmacnak
7 years, 2 months ago (2013-10-24 22:34:23 UTC) #4
Johnni Winther
lgtm https://chromiumcodereview.appspot.com/36023003/diff/120001/tests/lib/mirrors/class_declarations_test.dart File tests/lib/mirrors/class_declarations_test.dart (right): https://chromiumcodereview.appspot.com/36023003/diff/120001/tests/lib/mirrors/class_declarations_test.dart#newcode38 tests/lib/mirrors/class_declarations_test.dart:38: cm.declarations.values.where((dm) => dm is MethodMirror && dm.isGetter).map(stringify), Long ...
7 years, 2 months ago (2013-10-25 06:10:02 UTC) #5
rmacnak
Shortened lines.
7 years, 1 month ago (2013-10-25 17:00:00 UTC) #6
rmacnak
7 years, 1 month ago (2013-10-25 17:05:59 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r29261 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698