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

Issue 2375373002: fix #27040, promote the upper bound of a type parameter (Closed)

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

Description

fix #27040, promote the upper bound of a type parameter also fixes #27210, by cleaning up TypeParameterMember equality TODO. R=leafp@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/4213059b74f217372d11ea9327afd32f6a28f4c2

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix #

Patch Set 3 : guard #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -36 lines) Patch
M pkg/analyzer/lib/dart/element/type.dart View 1 1 chunk +15 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/member.dart View 1 1 chunk +0 lines, -6 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/type.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/analyzer/lib/src/generated/type_system.dart View 1 2 6 chunks +26 lines, -24 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 3 chunks +38 lines, -4 lines 2 comments Download

Messages

Total messages: 12 (3 generated)
Jennifer Messerly
This builds on earlier CL's, in particular https://codereview.chromium.org/2375103004/
4 years, 2 months ago (2016-09-29 07:31:33 UTC) #2
Leaf
lgtm https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (right): https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode3717 pkg/analyzer/test/src/task/strong/checker_test.dart:3717: void h/*<T extends Clonable<T>>*/(/*=T*/ object) { Test that ...
4 years, 2 months ago (2016-09-30 05:00:04 UTC) #3
Jennifer Messerly
Thanks! https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (right): https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode3717 pkg/analyzer/test/src/task/strong/checker_test.dart:3717: void h/*<T extends Clonable<T>>*/(/*=T*/ object) { On 2016/09/30 ...
4 years, 2 months ago (2016-09-30 16:58:03 UTC) #4
Leaf
https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (right): https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode3717 pkg/analyzer/test/src/task/strong/checker_test.dart:3717: void h/*<T extends Clonable<T>>*/(/*=T*/ object) { On 2016/09/30 16:58:03, ...
4 years, 2 months ago (2016-09-30 17:00:30 UTC) #5
Jennifer Messerly
On 2016/09/30 17:00:30, Leaf wrote: > https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart > File pkg/analyzer/test/src/task/strong/checker_test.dart (right): > > https://codereview.chromium.org/2375373002/diff/1/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode3717 > ...
4 years, 2 months ago (2016-10-20 23:25:00 UTC) #6
Jennifer Messerly
Hi Leaf, PTAL. There's still some pre-existing weirdness in Analyzer I'm not sure what to ...
4 years, 1 month ago (2016-10-24 23:31:28 UTC) #8
Leaf
lgtm. https://codereview.chromium.org/2375373002/diff/40001/pkg/analyzer/test/src/task/strong/checker_test.dart File pkg/analyzer/test/src/task/strong/checker_test.dart (right): https://codereview.chromium.org/2375373002/diff/40001/pkg/analyzer/test/src/task/strong/checker_test.dart#newcode3769 pkg/analyzer/test/src/task/strong/checker_test.dart:3769: // type, and the way it is implemented, ...
4 years, 1 month ago (2016-11-01 17:54:52 UTC) #9
Jennifer Messerly
Committed patchset #3 (id:40001) manually as 4213059b74f217372d11ea9327afd32f6a28f4c2 (presubmit successful).
4 years, 1 month ago (2016-11-02 01:15:08 UTC) #11
Jennifer Messerly
4 years, 1 month ago (2016-11-02 01:17:08 UTC) #12
Message was sent while issue was closed.
thanks! landed

https://codereview.chromium.org/2375373002/diff/40001/pkg/analyzer/test/src/t...
File pkg/analyzer/test/src/task/strong/checker_test.dart (right):

https://codereview.chromium.org/2375373002/diff/40001/pkg/analyzer/test/src/t...
pkg/analyzer/test/src/task/strong/checker_test.dart:3769: // type, and the way
it is implemented, this leads back to `T extends num`.
On 2016/11/01 17:54:52, Leaf wrote:
> This is kind of a bug. Maybe file an issue and add a failing test?

done: https://github.com/dart-lang/sdk/issues/27725

Powered by Google App Engine
This is Rietveld 408576698