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

Issue 710343002: Check enums in switch cases. (Closed)

Created:
6 years, 1 month ago by Johnni Winther
Modified:
6 years, 1 month ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebased #

Patch Set 3 : Fix problem on redirecting factories. #

Total comments: 2

Patch Set 4 : Updated cf. comments + process deferred actions in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -60 lines) Patch
M pkg/compiler/lib/src/elements/elements.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/elements/visitor.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/enum_creator.dart View 1 3 chunks +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 2 8 chunks +40 lines, -30 lines 0 comments Download
M pkg/compiler/lib/src/typechecker.dart View 1 2 2 chunks +43 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/warnings.dart View 1 4 chunks +38 lines, -11 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 3 chunks +3 lines, -16 lines 0 comments Download
M tests/compiler/dart2js/type_checker_test.dart View 1 2 3 4 chunks +90 lines, -1 line 0 comments Download

Messages

Total messages: 9 (1 generated)
Johnni Winther
6 years, 1 month ago (2014-11-11 15:15:04 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/710343002/diff/1/pkg/compiler/lib/src/elements/elements.dart File pkg/compiler/lib/src/elements/elements.dart (right): https://codereview.chromium.org/710343002/diff/1/pkg/compiler/lib/src/elements/elements.dart#newcode1419 pkg/compiler/lib/src/elements/elements.dart:1419: /// The static field implied by the enum ...
6 years, 1 month ago (2014-11-12 17:52:35 UTC) #3
Johnni Winther
https://codereview.chromium.org/710343002/diff/1/pkg/compiler/lib/src/elements/elements.dart File pkg/compiler/lib/src/elements/elements.dart (right): https://codereview.chromium.org/710343002/diff/1/pkg/compiler/lib/src/elements/elements.dart#newcode1419 pkg/compiler/lib/src/elements/elements.dart:1419: /// The static field implied by the enum values. ...
6 years, 1 month ago (2014-11-13 08:48:40 UTC) #4
Johnni Winther
PTAL at the latest patch. I had to make to whole checking deferred to compute ...
6 years, 1 month ago (2014-11-13 09:50:34 UTC) #5
Johnni Winther
ping
6 years, 1 month ago (2014-11-17 09:20:15 UTC) #6
floitsch
LGTM. https://codereview.chromium.org/710343002/diff/40001/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/710343002/diff/40001/pkg/compiler/lib/src/elements/modelx.dart#newcode2423 pkg/compiler/lib/src/elements/modelx.dart:2423: Iterable<FieldElement> enumValuesCache; private? maybe even _enumValues That's the ...
6 years, 1 month ago (2014-11-17 13:31:13 UTC) #7
Johnni Winther
https://codereview.chromium.org/710343002/diff/40001/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/710343002/diff/40001/pkg/compiler/lib/src/elements/modelx.dart#newcode2423 pkg/compiler/lib/src/elements/modelx.dart:2423: Iterable<FieldElement> enumValuesCache; On 2014/11/17 13:31:12, floitsch wrote: > private? ...
6 years, 1 month ago (2014-11-18 09:44:20 UTC) #8
Johnni Winther
6 years, 1 month ago (2014-11-18 10:10:34 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 41796 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698