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

Issue 1631093004: dart2js cps: Bugfix in FlatTypeMask.isDisjoint. (Closed)

Created:
4 years, 11 months ago by asgerf
Modified:
4 years, 10 months ago
CC:
reviews_dartlang.org, Siggi Cherem (dart-lang)
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

dart2js cps: Bugfix in FlatTypeMask.isDisjoint. The predicate would answer incorrectly when asked if subclasses of A is disjoint from subtypes of B, where B is a subtype of A. Example from the compiler: abstract class _MinifiedFieldNamer implements Namer class MinifyNamer extends Namer with _MinifiedFieldNamer [subclass=Namer] vs [subtype=_MinifiedFieldNamer] were found to be disjoint, even though the MinifyNamer class exists. BUG= R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/28ce0ee8acd3b0a6fc210449f2f496aa9b24f95c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M pkg/compiler/lib/src/types/flat_type_mask.dart View 1 chunk +8 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
asgerf
4 years, 11 months ago (2016-01-26 13:30:43 UTC) #2
asgerf
R=kmillikin since Siggi is OOO. BTW this fixes dummy_compiler_test and friends.
4 years, 11 months ago (2016-01-26 13:41:29 UTC) #4
Kevin Millikin (Google)
lgtm
4 years, 11 months ago (2016-01-26 14:04:36 UTC) #5
asgerf
Committed patchset #1 (id:1) manually as 28ce0ee8acd3b0a6fc210449f2f496aa9b24f95c (presubmit successful).
4 years, 11 months ago (2016-01-26 14:41:58 UTC) #7
Siggi Cherem (dart-lang)
4 years, 10 months ago (2016-02-04 22:31:34 UTC) #9
Message was sent while issue was closed.
lgtm

Thanks for the fix! Let's add a unittest to
tests/compiler/dart2js/type_mask_disjoint_test to cover this.

Powered by Google App Engine
This is Rietveld 408576698