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

Issue 14268020: Fix issue 10216. If the type mask is a subtype, and its base mixes in class A, it should consider a… (Closed)

Created:
7 years, 7 months ago by ngeoffray
Modified:
7 years, 7 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix issue 10216. If the type mask is a subtype, and its base mixes in class A, it should consider an element of class A as potential runtime targets. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=22111

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -14 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/type_mask.dart View 1 1 chunk +3 lines, -14 lines 0 comments Download
M tests/language/language.status View 1 3 chunks +3 lines, -0 lines 0 comments Download
A tests/language/mixin_issue10216_2_test.dart View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
A tests/language/mixin_issue10216_test.dart View 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
ngeoffray
7 years, 7 months ago (2013-04-29 08:39:46 UTC) #1
kasperl
https://codereview.chromium.org/14268020/diff/1/sdk/lib/_internal/compiler/implementation/types/type_mask.dart File sdk/lib/_internal/compiler/implementation/types/type_mask.dart (right): https://codereview.chromium.org/14268020/diff/1/sdk/lib/_internal/compiler/implementation/types/type_mask.dart#newcode448 sdk/lib/_internal/compiler/implementation/types/type_mask.dart:448: if (cls.isSubclassOf(other) I'd like to structure this more like ...
7 years, 7 months ago (2013-04-29 09:46:46 UTC) #2
ngeoffray
PTAL. I added a test for the case where a class used as mixin also ...
7 years, 7 months ago (2013-04-29 10:18:11 UTC) #3
kasperl
LGTM. https://codereview.chromium.org/14268020/diff/4001/sdk/lib/_internal/compiler/implementation/world.dart File sdk/lib/_internal/compiler/implementation/world.dart (right): https://codereview.chromium.org/14268020/diff/4001/sdk/lib/_internal/compiler/implementation/world.dart#newcode139 sdk/lib/_internal/compiler/implementation/world.dart:139: // Returns whether a superclass of [cls] mixes ...
7 years, 7 months ago (2013-04-29 10:27:21 UTC) #4
ngeoffray
Thanks Kasper. https://codereview.chromium.org/14268020/diff/4001/sdk/lib/_internal/compiler/implementation/world.dart File sdk/lib/_internal/compiler/implementation/world.dart (right): https://codereview.chromium.org/14268020/diff/4001/sdk/lib/_internal/compiler/implementation/world.dart#newcode139 sdk/lib/_internal/compiler/implementation/world.dart:139: // Returns whether a superclass of [cls] ...
7 years, 7 months ago (2013-04-29 10:37:48 UTC) #5
ngeoffray
7 years, 7 months ago (2013-04-29 10:58:49 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r22111 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698