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

Issue 2017903002: Improve equivalence testing of unnamed mixin applications. (Closed)

Created:
4 years, 6 months ago by Johnni Winther
Modified:
4 years, 6 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Improve equivalence testing of unnamed mixin applications. The equivalence of unnamed mixin applications cannot be tested directly since they are not nominal entities. In the example below two classes by the synthetic name `S+M` are introduces. This CL adds a reference to the introducing class so that the unnamed mixin applications can be distinguished as `S+M from C1` and `S+M from C2`. class S {} class M {} class C1 extends S with M {} class C2 extends S with M {} R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/5916ee557f0a53e1a0cab14598a5aaece1f8135c

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 4

Patch Set 3 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -21 lines) Patch
M pkg/compiler/lib/src/common/codegen.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 2 chunks +8 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/resolution/class_hierarchy.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/serialization/equivalence.dart View 1 chunk +22 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/serialization/modelz.dart View 9 chunks +15 lines, -13 lines 0 comments Download
M tests/compiler/dart2js/serialization/equivalence_test.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/serialization/model_test.dart View 1 2 1 chunk +10 lines, -1 line 0 comments Download
M tests/compiler/dart2js/serialization/test_data.dart View 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Johnni Winther
4 years, 6 months ago (2016-05-30 11:11:35 UTC) #2
Florian Schneider
General drive-by comment: Please add 1-2 sentences in the CL description to describe the essence ...
4 years, 6 months ago (2016-05-30 12:00:59 UTC) #4
Johnni Winther
The equivalence of unnamed mixin applications cannot be tested directly since they are not nominal ...
4 years, 6 months ago (2016-05-30 13:28:56 UTC) #5
Florian Schneider
On 2016/05/30 13:28:56, Johnni Winther wrote: > The equivalence of unnamed mixin applications cannot be ...
4 years, 6 months ago (2016-05-30 13:39:14 UTC) #7
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2017903002/diff/20001/pkg/compiler/lib/src/resolution/class_hierarchy.dart File pkg/compiler/lib/src/resolution/class_hierarchy.dart (left): https://codereview.chromium.org/2017903002/diff/20001/pkg/compiler/lib/src/resolution/class_hierarchy.dart#oldcode308 pkg/compiler/lib/src/resolution/class_hierarchy.dart:308: element.compilationUnit, oh wow, and it used to work? ...
4 years, 6 months ago (2016-05-31 21:37:11 UTC) #8
Johnni Winther
https://codereview.chromium.org/2017903002/diff/20001/pkg/compiler/lib/src/resolution/class_hierarchy.dart File pkg/compiler/lib/src/resolution/class_hierarchy.dart (left): https://codereview.chromium.org/2017903002/diff/20001/pkg/compiler/lib/src/resolution/class_hierarchy.dart#oldcode308 pkg/compiler/lib/src/resolution/class_hierarchy.dart:308: element.compilationUnit, On 2016/05/31 21:37:11, Siggi Cherem (dart-lang) wrote: > ...
4 years, 6 months ago (2016-06-02 08:19:40 UTC) #9
Johnni Winther
4 years, 6 months ago (2016-06-02 08:26:33 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
5916ee557f0a53e1a0cab14598a5aaece1f8135c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698