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

Issue 2914093002: Remove some bogus type promotion code. (Closed)

Created:
3 years, 6 months ago by Paul Berry
Modified:
3 years, 6 months ago
Reviewers:
scheglov
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remove some bogus type promotion code. This code was part of an attempt to prototype some possible extensions to type promotion to handle `if (x is! Foo)`. I thought I had rendered it harmless, but it was having some buggy effects. Also added a test case demonstrating the problem. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/f9c1cab33ba5f9dbee97d6230fa99fddce5b5603

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -3 lines) Patch
M pkg/front_end/lib/src/fasta/type_inference/type_promotion.dart View 1 chunk +1 line, -3 lines 0 comments Download
M pkg/front_end/test/fasta/kompile.status View 1 chunk +1 line, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_not_and_not.dart View 1 chunk +14 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_not_and_not.dart.direct.expect View 1 chunk +10 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_not_and_not.dart.outline.expect View 1 chunk +8 lines, -0 lines 0 comments Download
A pkg/front_end/testcases/inference/type_promotion_not_and_not.dart.strong.expect View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
3 years, 6 months ago (2017-05-31 20:36:15 UTC) #2
scheglov
LGTM
3 years, 6 months ago (2017-05-31 20:37:49 UTC) #3
Paul Berry
3 years, 6 months ago (2017-05-31 20:40:38 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
f9c1cab33ba5f9dbee97d6230fa99fddce5b5603 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698