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

Issue 47743011: Substitute types in generic superclasses and interfaces. (Closed)

Created:
7 years, 1 month ago by zarah
Modified:
5 years, 10 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Substitute types in generic superclasses and interfaces. R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=29545

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 10

Patch Set 3 : Updated status file + addressed comments. #

Total comments: 18

Patch Set 4 : Addressed comments. #

Total comments: 2

Patch Set 5 : Removed long line. #

Patch Set 6 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -110 lines) Patch
M sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart View 1 2 3 4 5 1 chunk +7 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_emitter/reflection_data_parser.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/lib/js_mirrors.dart View 1 2 3 4 5 16 chunks +95 lines, -55 lines 0 comments Download
M sdk/lib/_internal/lib/js_rti.dart View 1 2 3 4 5 4 chunks +13 lines, -7 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 3 chunks +4 lines, -10 lines 0 comments Download
M tests/lib/mirrors/generic_bounded_by_type_parameter_test.dart View 1 2 3 4 chunks +25 lines, -10 lines 0 comments Download
M tests/lib/mirrors/generic_bounded_test.dart View 1 2 3 4 5 chunks +26 lines, -8 lines 0 comments Download
M tests/lib/mirrors/generic_f_bounded_test.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A tests/lib/mirrors/generic_superclass_test.dart View 1 2 3 1 chunk +114 lines, -0 lines 0 comments Download
M tests/lib/mirrors/generic_type_mirror_test.dart View 1 2 4 chunks +18 lines, -6 lines 0 comments Download
M tests/lib/mirrors/generics_substitution_test.dart View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
zarah
7 years, 1 month ago (2013-10-29 13:22:08 UTC) #1
karlklose
https://codereview.chromium.org/47743011/diff/120001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://codereview.chromium.org/47743011/diff/120001/sdk/lib/_internal/lib/js_mirrors.dart#newcode1411 sdk/lib/_internal/lib/js_mirrors.dart:1411: var result = const []; List<ClassMirror> result = const ...
7 years, 1 month ago (2013-10-29 15:14:09 UTC) #2
Johnni Winther
https://codereview.chromium.org/47743011/diff/210001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://codereview.chromium.org/47743011/diff/210001/sdk/lib/_internal/lib/js_mirrors.dart#newcode1022 sdk/lib/_internal/lib/js_mirrors.dart:1022: if (typeInformation != null) { Change to assert(typeInformation != ...
7 years, 1 month ago (2013-10-30 10:27:18 UTC) #3
zarah
https://codereview.chromium.org/47743011/diff/120001/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://codereview.chromium.org/47743011/diff/120001/sdk/lib/_internal/lib/js_mirrors.dart#newcode1411 sdk/lib/_internal/lib/js_mirrors.dart:1411: var result = const []; On 2013/10/29 15:14:09, karlklose ...
7 years, 1 month ago (2013-10-30 11:51:39 UTC) #4
Johnni Winther
lgtm https://codereview.chromium.org/47743011/diff/90002/sdk/lib/_internal/lib/js_mirrors.dart File sdk/lib/_internal/lib/js_mirrors.dart (right): https://codereview.chromium.org/47743011/diff/90002/sdk/lib/_internal/lib/js_mirrors.dart#newcode1952 sdk/lib/_internal/lib/js_mirrors.dart:1952: int variableIndex = findTypeVariableIndex(typeVariables, typeVariable.name); Long line.
7 years, 1 month ago (2013-10-30 11:53:43 UTC) #5
zarah
Committed patchset #6 manually as r29545 (presubmit successful).
7 years, 1 month ago (2013-10-30 14:01:43 UTC) #6
zarah
7 years, 1 month ago (2013-10-30 15:01:35 UTC) #7
Message was sent while issue was closed.
Thanks!

https://codereview.chromium.org/47743011/diff/90002/sdk/lib/_internal/lib/js_...
File sdk/lib/_internal/lib/js_mirrors.dart (right):

https://codereview.chromium.org/47743011/diff/90002/sdk/lib/_internal/lib/js_...
sdk/lib/_internal/lib/js_mirrors.dart:1952: int variableIndex =
findTypeVariableIndex(typeVariables, typeVariable.name);
On 2013/10/30 11:53:43, Johnni Winther wrote:
> Long line.

Done.

Powered by Google App Engine
This is Rietveld 408576698