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

Issue 2291103004: fix #25740 again, making sure we have the substituted bound in inference (Closed)

Created:
4 years, 3 months ago by Jennifer Messerly
Modified:
4 years, 3 months ago
Reviewers:
Leaf
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #25740 again, making sure we have the substituted bound in inference The first fix only addressed part of the problem. Unfortunately we go back and forth between .element and .type, assuming they always return the other one, which was not the case for TypeParameterMember. R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/63046da4be09ee9bb95f2356b22392dbdf8e199d

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix substitution #

Patch Set 3 : revert #

Patch Set 4 : merge and add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -6 lines) Patch
M pkg/analyzer/lib/src/dart/element/member.dart View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M pkg/analyzer/test/generated/type_system_test.dart View 1 chunk +74 lines, -0 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 1 chunk +8 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Jennifer Messerly
4 years, 3 months ago (2016-08-30 15:32:03 UTC) #2
Leaf
lgtm https://codereview.chromium.org/2291103004/diff/1/pkg/analyzer/lib/src/dart/element/member.dart File pkg/analyzer/lib/src/dart/element/member.dart (right): https://codereview.chromium.org/2291103004/diff/1/pkg/analyzer/lib/src/dart/element/member.dart#newcode961 pkg/analyzer/lib/src/dart/element/member.dart:961: bool operator ==(obj) => Why is this the ...
4 years, 3 months ago (2016-08-30 16:34:51 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/2291103004/diff/1/pkg/analyzer/lib/src/dart/element/member.dart File pkg/analyzer/lib/src/dart/element/member.dart (right): https://codereview.chromium.org/2291103004/diff/1/pkg/analyzer/lib/src/dart/element/member.dart#newcode961 pkg/analyzer/lib/src/dart/element/member.dart:961: bool operator ==(obj) => On 2016/08/30 16:34:51, Leaf wrote: ...
4 years, 3 months ago (2016-08-30 23:53:39 UTC) #4
Jennifer Messerly
Hi Leaf, addressed your earlier comment & this version is passing. I think there's a ...
4 years, 3 months ago (2016-08-31 03:55:33 UTC) #5
Jennifer Messerly
On 2016/08/31 03:55:33, John Messerly wrote: > Hi Leaf, addressed your earlier comment & this ...
4 years, 3 months ago (2016-08-31 04:12:50 UTC) #6
Leaf
On 2016/08/31 04:12:50, John Messerly wrote: > On 2016/08/31 03:55:33, John Messerly wrote: > > ...
4 years, 3 months ago (2016-08-31 16:35:26 UTC) #7
Jennifer Messerly
On 2016/08/31 16:35:26, Leaf wrote: > On 2016/08/31 04:12:50, John Messerly wrote: > > On ...
4 years, 3 months ago (2016-08-31 17:58:39 UTC) #8
Jennifer Messerly
4 years, 3 months ago (2016-08-31 18:10:26 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
63046da4be09ee9bb95f2356b22392dbdf8e199d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698