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

Issue 707463003: Support enums in dart2js. (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

Support enums in dart2js. - still missing warnings/errors. BUG=https://code.google.com/p/dart/issues/detail?id=21417 R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=41654

Patch Set 1 #

Total comments: 20

Patch Set 2 : Updated cf. comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+502 lines, -29 lines) Patch
M pkg/analyzer2dart/lib/src/modely.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/apiimpl.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/compiler.dart View 2 chunks +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/dart2js.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 6 chunks +98 lines, -14 lines 0 comments Download
A pkg/compiler/lib/src/resolution/enum_creator.dart View 1 1 chunk +267 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/members.dart View 1 2 chunks +24 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/resolution/signatures.dart View 1 1 chunk +8 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/scanner/listener.dart View 2 chunks +12 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/scanner/scannerlib.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 chunk +2 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/warnings.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 3 chunks +7 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/resolver_test.dart View 2 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Johnni Winther
6 years, 1 month ago (2014-11-09 15:08:53 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/707463003/diff/1/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/707463003/diff/1/pkg/compiler/lib/src/elements/modelx.dart#newcode2439 pkg/compiler/lib/src/elements/modelx.dart:2439: accept(ElementVisitor visitor) => visitor.visitClassElement(this); Why don't we need ...
6 years, 1 month ago (2014-11-10 16:08:32 UTC) #3
Johnni Winther
https://codereview.chromium.org/707463003/diff/1/pkg/compiler/lib/src/elements/modelx.dart File pkg/compiler/lib/src/elements/modelx.dart (right): https://codereview.chromium.org/707463003/diff/1/pkg/compiler/lib/src/elements/modelx.dart#newcode2439 pkg/compiler/lib/src/elements/modelx.dart:2439: accept(ElementVisitor visitor) => visitor.visitClassElement(this); On 2014/11/10 16:08:32, floitsch wrote: ...
6 years, 1 month ago (2014-11-11 08:23:37 UTC) #4
Johnni Winther
6 years, 1 month ago (2014-11-11 08:29:21 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 41654 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698