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

Issue 1696793003: Don't use _inFieldContext tracking. (Closed)

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

Description

Don't use _inFieldContext tracking. For any practicaly purpose it was useless because we casted to FieldDeclaration anyway to get documentation and isStatic field. One additional change is that we now create ConstFieldElementImpl only for non-static final fields. This corresponds to the logic in ResolverVisitor.visitVariableDeclaration(), which clones initializers only for final non-static fields. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/b61c5c06b14d57042dd63dbade0d45f097bc2868

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -56 lines) Patch
M pkg/analyzer/lib/src/dart/element/builder.dart View 8 chunks +13 lines, -56 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 10 months ago (2016-02-12 18:26:03 UTC) #1
Brian Wilkerson
LGTM
4 years, 10 months ago (2016-02-12 18:35:33 UTC) #2
scheglov
4 years, 10 months ago (2016-02-12 18:38:43 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b61c5c06b14d57042dd63dbade0d45f097bc2868 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698