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

Issue 1650833002: Resynthesize type references. (Closed)

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

Description

Patch Set 1 #

Total comments: 7

Patch Set 2 : Support for generic classes. #

Patch Set 3 : emove SimpleIdentifier.staticType check. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -12 lines) Patch
M pkg/analyzer/lib/src/summary/resynthesize.dart View 1 2 8 chunks +28 lines, -10 lines 2 comments Download
M pkg/analyzer/test/src/summary/resynthesize_test.dart View 1 2 3 chunks +54 lines, -2 lines 1 comment Download

Messages

Total messages: 8 (1 generated)
scheglov
4 years, 10 months ago (2016-01-31 00:19:17 UTC) #1
Paul Berry
https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode416 pkg/analyzer/lib/src/summary/resynthesize.dart:416: if (info.type != null) { This won't work properly ...
4 years, 10 months ago (2016-01-31 13:41:02 UTC) #2
scheglov
PTAL https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode416 pkg/analyzer/lib/src/summary/resynthesize.dart:416: if (info.type != null) { On 2016/01/31 13:41:02, ...
4 years, 10 months ago (2016-01-31 18:55:29 UTC) #3
scheglov
https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1650833002/diff/1/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode455 pkg/analyzer/lib/src/summary/resynthesize.dart:455: // node.staticType = resynthesizer.summaryResynthesizer.typeProvider.typeType; On 2016/01/31 18:55:29, scheglov wrote: ...
4 years, 10 months ago (2016-01-31 20:24:01 UTC) #4
Paul Berry
lgtm https://codereview.chromium.org/1650833002/diff/40001/pkg/analyzer/lib/src/summary/resynthesize.dart File pkg/analyzer/lib/src/summary/resynthesize.dart (right): https://codereview.chromium.org/1650833002/diff/40001/pkg/analyzer/lib/src/summary/resynthesize.dart#newcode1670 pkg/analyzer/lib/src/summary/resynthesize.dart:1670: DartType typeArgument = getTypeArgument != null Nit: Rather ...
4 years, 10 months ago (2016-02-01 16:11:40 UTC) #5
scheglov
Committed patchset #3 (id:40001) manually as a4711db5f4a3c2c81897e2ffd9057924c360a98e (presubmit successful).
4 years, 10 months ago (2016-02-01 17:18:07 UTC) #7
scheglov
4 years, 10 months ago (2016-02-01 17:22:26 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/1650833002/diff/40001/pkg/analyzer/lib/src/su...
File pkg/analyzer/lib/src/summary/resynthesize.dart (right):

https://codereview.chromium.org/1650833002/diff/40001/pkg/analyzer/lib/src/su...
pkg/analyzer/lib/src/summary/resynthesize.dart:1670: DartType typeArgument =
getTypeArgument != null
On 2016/02/01 16:11:40, Paul Berry wrote:
> Nit: Rather than make this change (which will burden all calls to _buildType),
> how about just changing line 1623 from:
> 
>     type = _buildType(null, null);
> 
> to:
> 
>     type = _buildType((_) => DynamicTypeImpl.instance, null);

Done.

Powered by Google App Engine
This is Rietveld 408576698