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

Issue 1569923002: Fix some corner cases of resynthesizing generic function types. (Closed)

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

Fix some corner cases of resynthesizing generic function types. We weren't always setting FunctionTypeImpl._isInstantiated correctly, resulting in incorrect types in some rare corner cases. I've added a public `isInstantiated` getter so that we can check this more thoroughly in unit tests. R=scheglov@google.com Committed: https://github.com/dart-lang/sdk/commit/0e2393f903bcc8a14217d5009b1dab1f3c044384

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -21 lines) Patch
M pkg/analyzer/lib/src/dart/element/type.dart View 2 chunks +8 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/summary/resynthesize.dart View 11 chunks +29 lines, -18 lines 0 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 4 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Paul Berry
4 years, 11 months ago (2016-01-07 18:32:46 UTC) #2
scheglov
LGTM
4 years, 11 months ago (2016-01-07 18:46:44 UTC) #3
Paul Berry
4 years, 11 months ago (2016-01-07 19:52:15 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
0e2393f903bcc8a14217d5009b1dab1f3c044384 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698