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

Issue 1890013002: Fix mirrors to keep typedef as scope class of function types (fixes #26187). (Closed)

Created:
4 years, 8 months ago by regis
Modified:
4 years, 8 months ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix mirrors to keep typedef as scope class of function types (fixes #26187). Add mirror regression test. Adjust expectation of a mirror test. Fix parser to mark current class as typedef before parsing signature. Fix canonicalization of typedef function types (a typedef class can be the scope class of more than one function type, even if not generic). R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/bab552edaf1080fdca423029128516e1c81a3279

Patch Set 1 #

Patch Set 2 : update dart2js status file #

Total comments: 2

Patch Set 3 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -26 lines) Patch
M runtime/lib/mirrors.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/parser.cc View 1 chunk +10 lines, -6 lines 0 comments Download
M tests/lib/lib.status View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/mirrors/reflected_type_function_type_test.dart View 1 chunk +1 line, -1 line 0 comments Download
A tests/lib/mirrors/regress_26187_test.dart View 1 2 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
regis
4 years, 8 months ago (2016-04-14 22:37:40 UTC) #2
rmacnak
https://chromiumcodereview.appspot.com/1890013002/diff/20001/tests/lib/mirrors/regress_26187_test.dart File tests/lib/mirrors/regress_26187_test.dart (right): https://chromiumcodereview.appspot.com/1890013002/diff/20001/tests/lib/mirrors/regress_26187_test.dart#newcode12 tests/lib/mirrors/regress_26187_test.dart:12: typedef void f(@A() int, String); Add a second typedef ...
4 years, 8 months ago (2016-04-15 16:58:30 UTC) #3
regis
Thanks! PTAL https://chromiumcodereview.appspot.com/1890013002/diff/20001/tests/lib/mirrors/regress_26187_test.dart File tests/lib/mirrors/regress_26187_test.dart (right): https://chromiumcodereview.appspot.com/1890013002/diff/20001/tests/lib/mirrors/regress_26187_test.dart#newcode12 tests/lib/mirrors/regress_26187_test.dart:12: typedef void f(@A() int, String); On 2016/04/15 ...
4 years, 8 months ago (2016-04-15 19:32:20 UTC) #4
rmacnak
LGTM
4 years, 8 months ago (2016-04-15 20:18:27 UTC) #5
regis
4 years, 8 months ago (2016-04-15 20:21:27 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
bab552edaf1080fdca423029128516e1c81a3279 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698