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

Issue 2336503003: fix #25578, implement @covariant parameter overrides (Closed)

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

Description

fix #25578, implement @covariant parameter overrides R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/28247a3daa1e0ca592667cfcc31614b2e374a3f9

Patch Set 1 #

Patch Set 2 : revert ast_properties #

Patch Set 3 : fix comments #

Patch Set 4 : fix for summaries, thanks Paul! #

Total comments: 4

Patch Set 5 : rename to @checked #

Patch Set 6 : fix comments, format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -93 lines) Patch
M pkg/analyzer/lib/dart/element/element.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/element.dart View 1 2 3 4 4 chunks +35 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/handle.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/member.dart View 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/element/type.dart View 1 2 3 4 5 8 chunks +56 lines, -18 lines 0 comments Download
M pkg/analyzer/lib/src/generated/element_resolver.dart View 4 chunks +4 lines, -5 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 1 2 3 4 5 3 chunks +7 lines, -9 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/type_system.dart View 1 2 3 4 1 chunk +20 lines, -8 lines 0 comments Download
M pkg/analyzer/lib/src/summary/link.dart View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong/checker.dart View 3 chunks +8 lines, -21 lines 0 comments Download
M pkg/analyzer/lib/src/task/strong_mode.dart View 1 2 3 4 3 chunks +27 lines, -25 lines 0 comments Download
M pkg/analyzer/test/src/context/mock_sdk.dart View 1 chunk +2 lines, -4 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/checker_test.dart View 1 2 3 4 1 chunk +106 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Jennifer Messerly
Hi Leaf, Here's my initial take on `@covariant` parameter overrides. I still need to do ...
4 years, 3 months ago (2016-09-12 18:16:14 UTC) #2
Jennifer Messerly
+Bob who had thoughts on the name. I agree @covariant is not appropriate as a ...
4 years, 3 months ago (2016-09-12 18:24:12 UTC) #4
Jennifer Messerly
On 2016/09/12 18:24:12, John Messerly wrote: > +Bob who had thoughts on the name. > ...
4 years, 3 months ago (2016-09-12 18:24:49 UTC) #5
Bob Nystrom
On 2016/09/12 18:24:49, John Messerly wrote: > On 2016/09/12 18:24:12, John Messerly wrote: > > ...
4 years, 3 months ago (2016-09-12 23:03:42 UTC) #6
Jennifer Messerly
On 2016/09/12 23:03:42, Bob Nystrom wrote: > On 2016/09/12 18:24:49, John Messerly wrote: > > ...
4 years, 3 months ago (2016-09-12 23:16:54 UTC) #7
Jennifer Messerly
FYI -- changed to @checked. Tweaked a few comments too.
4 years, 3 months ago (2016-09-12 23:23:13 UTC) #8
Leaf
lgtm! https://codereview.chromium.org/2336503003/diff/60001/pkg/analyzer/lib/src/dart/element/type.dart File pkg/analyzer/lib/src/dart/element/type.dart (right): https://codereview.chromium.org/2336503003/diff/60001/pkg/analyzer/lib/src/dart/element/type.dart#newcode808 pkg/analyzer/lib/src/dart/element/type.dart:808: return relate(this, type, (DartType t, DartType s, _, ...
4 years, 3 months ago (2016-09-12 23:42:37 UTC) #9
Jennifer Messerly
Thanks!!! https://codereview.chromium.org/2336503003/diff/60001/pkg/analyzer/lib/src/dart/element/type.dart File pkg/analyzer/lib/src/dart/element/type.dart (right): https://codereview.chromium.org/2336503003/diff/60001/pkg/analyzer/lib/src/dart/element/type.dart#newcode808 pkg/analyzer/lib/src/dart/element/type.dart:808: return relate(this, type, (DartType t, DartType s, _, ...
4 years, 3 months ago (2016-09-13 00:16:21 UTC) #10
Jennifer Messerly
4 years, 3 months ago (2016-09-13 21:57:30 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
28247a3daa1e0ca592667cfcc31614b2e374a3f9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698