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

Issue 922023002: Implement DeclarationMirror.location for all but ParameterMirrors. (Closed)

Created:
5 years, 10 months ago by rmacnak
Modified:
5 years, 10 months ago
Reviewers:
gbracha, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Implement DeclarationMirror.location for all but ParameterMirrors. - Mark NativeFieldWrapper classes as synthetic. - Mark ClassID fields as synthetic. BUG=http://dartbug.com/22378 R=gbracha@google.com, hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=43784

Patch Set 1 #

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Total comments: 5

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -76 lines) Patch
M runtime/lib/mirrors.cc View 1 2 3 4 1 chunk +72 lines, -9 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 2 15 chunks +19 lines, -35 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 2 chunks +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 2 3 12 chunks +26 lines, -8 lines 0 comments Download
M sdk/lib/mirrors/mirrors.dart View 1 2 3 4 1 chunk +28 lines, -2 lines 0 comments Download
M tests/lib/lib.status View 2 chunks +2 lines, -0 lines 0 comments Download
A + tests/lib/mirrors/class_mirror_location_other.dart View 1 2 3 4 1 chunk +5 lines, -8 lines 0 comments Download
A tests/lib/mirrors/class_mirror_location_test.dart View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
A + tests/lib/mirrors/library_with_annotated_declaration.dart View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
A + tests/lib/mirrors/library_without_declaration.dart View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M tests/lib/mirrors/method_mirror_location_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/mirrors/mirrors_reader_test.dart View 2 chunks +3 lines, -3 lines 0 comments Download
A tests/lib/mirrors/other_declarations_location_test.dart View 1 2 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
rmacnak
5 years, 10 months ago (2015-02-13 02:13:42 UTC) #2
gbracha
Tests lgtm as long as minor typos corrected. For mirrors.dart, see proposed spec refinements that ...
5 years, 10 months ago (2015-02-13 03:00:57 UTC) #3
hausner
LGTM with comments. https://codereview.chromium.org/922023002/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/922023002/diff/20001/runtime/vm/parser.cc#newcode4405 runtime/vm/parser.cc:4405: if (is_patch_source() && I believe you ...
5 years, 10 months ago (2015-02-13 16:52:28 UTC) #4
rmacnak
Updated how libraries are handle per proposed spec. PTAL. https://codereview.chromium.org/922023002/diff/20001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/922023002/diff/20001/runtime/vm/parser.cc#newcode4507 runtime/vm/parser.cc:4507: ...
5 years, 10 months ago (2015-02-13 20:46:34 UTC) #6
gbracha
https://codereview.chromium.org/922023002/diff/40001/tests/lib/mirrors/other_declarations_location_test.dart File tests/lib/mirrors/other_declarations_location_test.dart (right): https://codereview.chromium.org/922023002/diff/40001/tests/lib/mirrors/other_declarations_location_test.dart#newcode10 tests/lib/mirrors/other_declarations_location_test.dart:10: import "library_with_annotated_declaration.dart"; Did I miss where these libs were ...
5 years, 10 months ago (2015-02-13 20:58:27 UTC) #7
hausner
lgtm DBC https://codereview.chromium.org/922023002/diff/40001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/922023002/diff/40001/runtime/vm/parser.cc#newcode5803 runtime/vm/parser.cc:5803: intptr_t Parser::GetLibraryDeclarationPosition() { When you look at ...
5 years, 10 months ago (2015-02-13 21:02:01 UTC) #8
rmacnak
https://codereview.chromium.org/922023002/diff/40001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/922023002/diff/40001/runtime/vm/parser.cc#newcode5803 runtime/vm/parser.cc:5803: intptr_t Parser::GetLibraryDeclarationPosition() { On 2015/02/13 21:02:01, hausner wrote: > ...
5 years, 10 months ago (2015-02-13 22:57:23 UTC) #10
gbracha
One last comment on the dart doc. Other than that LGTM on the etsts and ...
5 years, 10 months ago (2015-02-13 23:16:36 UTC) #11
rmacnak
https://codereview.chromium.org/922023002/diff/60001/sdk/lib/mirrors/mirrors.dart File sdk/lib/mirrors/mirrors.dart (right): https://codereview.chromium.org/922023002/diff/60001/sdk/lib/mirrors/mirrors.dart#newcode300 sdk/lib/mirrors/mirrors.dart:300: * the keyword 'library' at the reflectee's point of ...
5 years, 10 months ago (2015-02-13 23:32:00 UTC) #13
rmacnak
5 years, 10 months ago (2015-02-13 23:32:37 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as 43784 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698