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

Issue 1718013002: In summaries, don't drop unsafe prefixes. (Closed)

Created:
4 years, 10 months ago by Paul Berry
Modified:
4 years, 10 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

In summaries, don't drop unsafe prefixes. Previous to this CL, all prefixes were dropped during resynthesis, causing constant ASTs like `x.length` to get resynthesized as simply `length`, which did not retain enough information for constant evaluation. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/b33be7dce03755760f021c0d08309e4f97711da5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -6 lines) Patch
M pkg/analyzer/lib/src/summary/resynthesize.dart View 1 chunk +14 lines, -3 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 2 chunks +27 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 10 months ago (2016-02-21 11:46:47 UTC) #2
scheglov
LGTM
4 years, 10 months ago (2016-02-21 18:47:24 UTC) #3
Paul Berry
4 years, 10 months ago (2016-02-22 13:22:24 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
b33be7dce03755760f021c0d08309e4f97711da5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698