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

Issue 1894263003: Clean up handling of declared/inferred types in VariableElementForLink (Closed)

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

Description

Clean up handling of declared/inferred types in VariableElementForLink This eliminates duplicate logic between VariableElementForLink and its derived class FieldElementForLink_ClassField, and makes the logic in these two classes more similar to the inferred type logic in ExecutableElementForLink. A few corner cases that were previously broken are now fixed (and tested). R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/bc67d03e2172c722037f1bb08bf568d464dedc8f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -85 lines) Patch
M pkg/analyzer/lib/src/summary/link.dart View 11 chunks +62 lines, -85 lines 0 comments Download
M pkg/analyzer/test/src/summary/linker_test.dart View 9 chunks +41 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 8 months ago (2016-04-19 18:44:12 UTC) #2
scheglov
LGTM
4 years, 8 months ago (2016-04-19 18:55:42 UTC) #3
Paul Berry
4 years, 8 months ago (2016-04-19 19:07:41 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
bc67d03e2172c722037f1bb08bf568d464dedc8f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698