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

Issue 26978004: Emit a compile-time error when using doubles as switch case expressions. (Closed)

Created:
7 years, 2 months ago by karlklose
Modified:
7 years, 2 months ago
Reviewers:
Johnni Winther
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Emit a compile-time error when using doubles as switch case expressions. R=johnniwinther@google.com Committed: https://code.google.com/p/dart/source/detail?r=28637

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -52 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 chunks +1 line, -45 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/typechecker.dart View 1 2 3 chunks +19 lines, -2 lines 1 comment Download
M sdk/lib/_internal/compiler/implementation/warnings.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2dart.status View 1 chunk +1 line, -1 line 0 comments Download
M tests/co19/co19-dart2js.status View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/language_dart2js.status View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
karlklose
7 years, 2 months ago (2013-10-15 10:37:10 UTC) #1
Johnni Winther
lgtm https://codereview.chromium.org/26978004/diff/6001/sdk/lib/_internal/compiler/implementation/typechecker.dart File sdk/lib/_internal/compiler/implementation/typechecker.dart (right): https://codereview.chromium.org/26978004/diff/6001/sdk/lib/_internal/compiler/implementation/typechecker.dart#newcode1199 sdk/lib/_internal/compiler/implementation/typechecker.dart:1199: message: "Expected interface type")); Why can't we see ...
7 years, 2 months ago (2013-10-15 11:47:44 UTC) #2
karlklose
On 2013/10/15 11:47:44, Johnni Winther wrote: > lgtm > > https://codereview.chromium.org/26978004/diff/6001/sdk/lib/_internal/compiler/implementation/typechecker.dart > File sdk/lib/_internal/compiler/implementation/typechecker.dart (right): ...
7 years, 2 months ago (2013-10-15 11:59:44 UTC) #3
karlklose
7 years, 2 months ago (2013-10-15 12:03:59 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r28637 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698