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

Issue 2027893002: Start separating ClassElementImpl for Class and Enum. (Closed)

Created:
4 years, 6 months ago by scheglov
Modified:
4 years, 6 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Start separating ClassElementImpl for Class and Enum. Maybe they should be named differently though, like ClassElementImpl and EnumElementImpl. R=brianwilkerson@google.com, paulberry@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/be990cd13490bea5d8c272b518b744cfc56886d1

Patch Set 1 #

Total comments: 10

Patch Set 2 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -145 lines) Patch
M pkg/analyzer/lib/src/context/context.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/dart/element/builder.dart View 3 chunks +3 lines, -4 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/element.dart View 1 14 chunks +336 lines, -112 lines 0 comments Download
M pkg/analyzer/lib/src/generated/testing/element_factory.dart View 2 chunks +2 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 1 3 chunks +3 lines, -13 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/test/generated/resolver_test_case.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/test/src/dart/element/element_test.dart View 5 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
scheglov
4 years, 6 months ago (2016-06-01 04:30:13 UTC) #1
Brian Wilkerson
It isn't clear to me why we're making a distinction between classes and enums, so ...
4 years, 6 months ago (2016-06-01 14:08:30 UTC) #2
scheglov
A different approach: https://codereview.chromium.org/2029053002 On 2016/06/01 14:08:30, Brian Wilkerson wrote: > It isn't clear to ...
4 years, 6 months ago (2016-06-01 15:29:26 UTC) #3
scheglov
https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#newcode1197 pkg/analyzer/lib/src/dart/element/element.dart:1197: super.abstract = isAbstract; On 2016/06/01 14:08:30, Brian Wilkerson wrote: ...
4 years, 6 months ago (2016-06-01 17:25:28 UTC) #4
Brian Wilkerson
After off-line discussions, lgtm. https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#newcode339 pkg/analyzer/lib/src/dart/element/element.dart:339: return hasModifier(Modifier.MIXIN_APPLICATION); Seems like this ...
4 years, 6 months ago (2016-06-01 17:29:44 UTC) #5
Paul Berry
lgtm https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart File pkg/analyzer/lib/src/dart/element/element.dart (right): https://codereview.chromium.org/2027893002/diff/1/pkg/analyzer/lib/src/dart/element/element.dart#newcode65 pkg/analyzer/lib/src/dart/element/element.dart:65: abstract class ClassElementImpl extends ElementImpl On 2016/06/01 14:08:30, ...
4 years, 6 months ago (2016-06-01 17:33:14 UTC) #6
scheglov
4 years, 6 months ago (2016-06-01 17:38:43 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
be990cd13490bea5d8c272b518b744cfc56886d1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698