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

Issue 22279006: Fix for switch type inferrence (Closed)

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

Description

Fix for switch type inferrence Committed: https://code.google.com/p/dart/source/detail?r=26022

Patch Set 1 #

Total comments: 2

Patch Set 2 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -11 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart View 1 chunk +3 lines, -11 lines 0 comments Download
A tests/compiler/dart2js_extra/12320_test.dart View 1 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sra1
https://codereview.chromium.org/22279006/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart File sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart (left): https://codereview.chromium.org/22279006/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart#oldcode981 sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart:981: // [locals] for the join block. However, we don't ...
7 years, 4 months ago (2013-08-10 02:01:39 UTC) #1
sra1
I've added a test. Still have some reservations about the fix (see initial comments). Since ...
7 years, 4 months ago (2013-08-12 17:49:48 UTC) #2
sra1
Committed patchset #2 manually as r26022 (presubmit successful).
7 years, 4 months ago (2013-08-12 19:04:36 UTC) #3
ngeoffray
7 years, 4 months ago (2013-08-13 12:03:35 UTC) #4
Message was sent while issue was closed.
LGTM! Thanks for the fix Stephen. I have an updated version here:

https://codereview.chromium.org/23050002

Powered by Google App Engine
This is Rietveld 408576698