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

Issue 770333003: First step to resolving simple API changes. (Closed)

Created:
6 years ago by scheglov
Modified:
6 years ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

First step to resolving simple API changes. Limitations: 1. Errors are not updated. 2. Classes are not resolved when it might be required. 3. Just method invocations, and just static elements. R=brianwilkerson@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=42153

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -40 lines) Patch
M pkg/analyzer/lib/src/generated/element.dart View 11 chunks +51 lines, -0 lines 2 comments Download
M pkg/analyzer/lib/src/generated/element_handle.dart View 4 chunks +14 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element_resolver.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/engine.dart View 2 chunks +39 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/incremental_resolver.dart View 10 chunks +75 lines, -32 lines 2 comments Download
M pkg/analyzer/lib/src/generated/utilities_collection.dart View 1 chunk +27 lines, -0 lines 0 comments Download
M pkg/analyzer/test/generated/incremental_resolver_test.dart View 6 chunks +44 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
scheglov
6 years ago (2014-12-05 22:32:43 UTC) #1
Brian Wilkerson
LGTM, although there are a lot of missing doc comments that it would be nice ...
6 years ago (2014-12-05 23:05:57 UTC) #2
scheglov
Committed patchset #1 (id:1) manually as 42153 (presubmit successful).
6 years ago (2014-12-05 23:48:43 UTC) #3
scheglov
6 years ago (2014-12-05 23:49:05 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/770333003/diff/1/pkg/analyzer/lib/src/generat...
File pkg/analyzer/lib/src/generated/element.dart (right):

https://codereview.chromium.org/770333003/diff/1/pkg/analyzer/lib/src/generat...
pkg/analyzer/lib/src/generated/element.dart:3234: IntSet get users;
On 2014/12/05 23:05:57, Brian Wilkerson wrote:
> I'm concerned about keeping around unnecessary empty sets. It would be good to
> measure to see what percentage of elements have empty sets and consider
storing
> 'null' in place of empty sets if there would be a reasonable space savings
from
> doing so. (But not before this CL lands.)

Acknowledged.

https://codereview.chromium.org/770333003/diff/1/pkg/analyzer/lib/src/generat...
File pkg/analyzer/lib/src/generated/incremental_resolver.dart (right):

https://codereview.chromium.org/770333003/diff/1/pkg/analyzer/lib/src/generat...
pkg/analyzer/lib/src/generated/incremental_resolver.dart:773: HashSet<Element>
_resolutionQueue = new HashSet<Element>();
On 2014/12/05 23:05:57, Brian Wilkerson wrote:
> I have some concerns about how long the incremental resolution task can take
> once we go down this road. We have to be careful to keep the task durations
> relatively short. It would be good to at least add a comment to remind us to
> revisit this issue.

Done.

Powered by Google App Engine
This is Rietveld 408576698