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

Issue 52263003: Implement least upper bound. (Closed)

Created:
7 years, 1 month ago by Johnni Winther
Modified:
7 years ago
Reviewers:
karlklose
CC:
reviews_dartlang.org, kasperl
Visibility:
Public.

Description

Implement least upper bound. As a side-effect disallow multiple inheritance with different type arguments. R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=30661

Patch Set 1 #

Patch Set 2 : Rebased and tests expanded. #

Total comments: 46

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1556 lines, -165 lines) Patch
M sdk/lib/_internal/compiler/implementation/closure.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_types.dart View 1 2 2 chunks +155 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 3 chunks +6 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 2 chunks +7 lines, -1 line 0 comments Download
A sdk/lib/_internal/compiler/implementation/ordered_typeset.dart View 1 2 1 chunk +203 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 8 chunks +33 lines, -44 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/resolution.dart View 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/typechecker.dart View 1 1 chunk +1 line, -7 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/file_impl.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 1 chunk +7 lines, -7 lines 0 comments Download
M sdk/lib/io/link.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
A tests/compiler/dart2js/least_upper_bound_language_test.dart View 1 1 chunk +22 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/least_upper_bound_test.dart View 1 2 1 chunk +853 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 1 2 chunks +22 lines, -1 line 0 comments Download
M tests/compiler/dart2js/type_promotion_test.dart View 1 2 chunks +3 lines, -70 lines 0 comments Download
M tests/compiler/dart2js/type_test_helper.dart View 2 chunks +5 lines, -1 line 0 comments Download
A + tests/compiler/dart2js/warnings_checker.dart View 1 4 chunks +7 lines, -23 lines 0 comments Download
M tests/language/language_analyzer.status View 1 1 chunk +16 lines, -2 lines 0 comments Download
A tests/language/least_upper_bound_expansive_test.dart View 1 2 1 chunk +101 lines, -0 lines 0 comments Download
A tests/language/least_upper_bound_test.dart View 1 1 chunk +103 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Johnni Winther
7 years, 1 month ago (2013-10-30 13:49:59 UTC) #1
Johnni Winther
PTAL
7 years, 1 month ago (2013-11-14 12:51:34 UTC) #2
Johnni Winther
ping
7 years, 1 month ago (2013-11-20 08:46:53 UTC) #3
karlklose
LGTM. https://codereview.chromium.org/52263003/diff/40001/sdk/lib/_internal/compiler/implementation/dart_types.dart File sdk/lib/_internal/compiler/implementation/dart_types.dart (right): https://codereview.chromium.org/52263003/diff/40001/sdk/lib/_internal/compiler/implementation/dart_types.dart#newcode1501 sdk/lib/_internal/compiler/implementation/dart_types.dart:1501: int maxCommonDepth = aClass.hierarchyDepth; `= min(aClass.hierarchyDepth, bClass.hierarchyDepth);` https://codereview.chromium.org/52263003/diff/40001/sdk/lib/_internal/compiler/implementation/dart_types.dart#newcode1532 ...
7 years, 1 month ago (2013-11-21 13:29:09 UTC) #4
Johnni Winther
https://codereview.chromium.org/52263003/diff/40001/sdk/lib/_internal/compiler/implementation/dart_types.dart File sdk/lib/_internal/compiler/implementation/dart_types.dart (right): https://codereview.chromium.org/52263003/diff/40001/sdk/lib/_internal/compiler/implementation/dart_types.dart#newcode1501 sdk/lib/_internal/compiler/implementation/dart_types.dart:1501: int maxCommonDepth = aClass.hierarchyDepth; On 2013/11/21 13:29:10, karlklose wrote: ...
7 years ago (2013-11-25 13:58:27 UTC) #5
Johnni Winther
7 years ago (2013-11-26 08:33:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r30661 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698