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

Issue 1450073002: Fixes pkg/analysis_server/test/analysis/get_hover_test (Closed)

Created:
5 years, 1 month ago by Jennifer Messerly
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fixes pkg/analysis_server/test/analysis/get_hover_test This was regressed by https://github.com/dart-lang/sdk/commit/af7359853f8f33b2febdcfa5beeb7a7dce115dce Essentially, this restores the _functionTypesToFix tracking. Most function types are created later (in TypeResolverVisitor) but some are created earlier. R=brianwilkerson@google.com, paulberry@google.com Committed: https://github.com/dart-lang/sdk/commit/591a2fdd917c25fee7b138c2e5e64f8b0efa5e1a

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -11 lines) Patch
M pkg/analyzer/lib/src/generated/resolver.dart View 1 5 chunks +32 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Jennifer Messerly
5 years, 1 month ago (2015-11-16 20:28:55 UTC) #2
Paul Berry
lgtm, but we probably should wait for Brian's review before committing, since he's more familiar ...
5 years, 1 month ago (2015-11-16 20:32:21 UTC) #3
Jennifer Messerly
On 2015/11/16 20:32:21, Paul Berry wrote: > lgtm, but we probably should wait for Brian's ...
5 years, 1 month ago (2015-11-16 20:44:53 UTC) #4
Brian Wilkerson
LGTM, with a few comments to think about. I'm fine with it as a temporary ...
5 years, 1 month ago (2015-11-16 20:53:04 UTC) #5
Jennifer Messerly
Thanks! https://codereview.chromium.org/1450073002/diff/1/pkg/analyzer/lib/src/generated/resolver.dart File pkg/analyzer/lib/src/generated/resolver.dart (right): https://codereview.chromium.org/1450073002/diff/1/pkg/analyzer/lib/src/generated/resolver.dart#newcode2661 pkg/analyzer/lib/src/generated/resolver.dart:2661: _functionTypesToFix = null; On 2015/11/16 20:53:04, Brian Wilkerson ...
5 years, 1 month ago (2015-11-16 21:45:44 UTC) #6
Jennifer Messerly
Committed patchset #2 (id:20001) manually as 591a2fdd917c25fee7b138c2e5e64f8b0efa5e1a (presubmit successful).
5 years, 1 month ago (2015-11-16 21:46:37 UTC) #7
Brian Wilkerson
5 years, 1 month ago (2015-11-16 21:55:30 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1450073002/diff/1/pkg/analyzer/lib/src/genera...
File pkg/analyzer/lib/src/generated/resolver.dart (right):

https://codereview.chromium.org/1450073002/diff/1/pkg/analyzer/lib/src/genera...
pkg/analyzer/lib/src/generated/resolver.dart:3046: // substitute those type
parameters later.
> Do we always enter via visitCompilationUnit?

I fairly sure that's the case, but I'd have to double check. We've talked before
about not creating elements for declarations within method / function bodies
until they're needed, but I don't believe that we've done that.

Powered by Google App Engine
This is Rietveld 408576698