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

Issue 2250513003: fix strong mode errors for 1.19.0-dev.4.0 (Closed)

Created:
4 years, 4 months ago by keertip
Modified:
4 years, 4 months ago
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/async.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : add explicit /*<S>*/ to .then #

Patch Set 3 : Revert "fix strong mode errors for 1.19.0-dev.4.0" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M lib/src/delegate/future.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M lib/src/typed/future.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (7 generated)
keertip
4 years, 4 months ago (2016-08-16 20:58:39 UTC) #2
nweiz
I don't understand this change. It looks like the current strong-mode definition of Future.then() has ...
4 years, 4 months ago (2016-08-16 21:27:11 UTC) #3
vsm
On 2016/08/16 21:27:11, nweiz wrote: > I don't understand this change. It looks like the ...
4 years, 4 months ago (2016-08-16 21:49:28 UTC) #4
vsm
4 years, 4 months ago (2016-08-16 21:49:46 UTC) #8
nweiz
Does that mean that my link is no longer the canonical strong-mode library definition? Won't ...
4 years, 4 months ago (2016-08-16 22:00:33 UTC) #9
Jennifer Messerly
+Leaf too. Hey just got looped into this SDK did indeed recently change signature: Future<T>.then: ...
4 years, 4 months ago (2016-08-16 22:29:33 UTC) #11
Leaf
On 2016/08/16 22:29:33, John Messerly wrote: > +Leaf too. Hey just got looped into this ...
4 years, 4 months ago (2016-08-16 22:35:30 UTC) #12
Jennifer Messerly
Another thought here (somewhat orthogonal) for you Leaf. We could actually do some magic inside ...
4 years, 4 months ago (2016-08-16 22:36:24 UTC) #13
Jennifer Messerly
https://codereview.chromium.org/2250513003/diff/1/lib/src/typed/future.dart File lib/src/typed/future.dart (right): https://codereview.chromium.org/2250513003/diff/1/lib/src/typed/future.dart#newcode18 lib/src/typed/future.dart:18: _future.then((value) => onValue(value as T), onError: onError); /*<S>*/ here ...
4 years, 4 months ago (2016-08-16 22:37:26 UTC) #14
nweiz
On 2016/08/16 22:35:30, Leaf wrote: > On 2016/08/16 22:29:33, John Messerly wrote: > > +Leaf ...
4 years, 4 months ago (2016-08-16 22:37:28 UTC) #15
Leaf
On 2016/08/16 22:37:28, nweiz wrote: > On 2016/08/16 22:35:30, Leaf wrote: > > On 2016/08/16 ...
4 years, 4 months ago (2016-08-16 23:24:10 UTC) #16
nweiz
On 2016/08/16 23:24:10, Leaf wrote: > On 2016/08/16 22:37:28, nweiz wrote: > > On 2016/08/16 ...
4 years, 4 months ago (2016-08-16 23:36:24 UTC) #17
keertip
On 2016/08/16 23:36:24, nweiz wrote: > On 2016/08/16 23:24:10, Leaf wrote: > > On 2016/08/16 ...
4 years, 4 months ago (2016-08-17 17:22:47 UTC) #18
Jennifer Messerly
with the explicit /*<S>*/ added to _future.then it looks good to me
4 years, 4 months ago (2016-08-17 18:21:01 UTC) #19
nweiz
Until strong mode supports whatever special sauce they're using for Future.then() for all subclasses, this ...
4 years, 4 months ago (2016-08-17 19:12:50 UTC) #20
Jennifer Messerly
On 2016/08/17 19:12:50, nweiz wrote: > Until strong mode supports whatever special sauce they're using ...
4 years, 4 months ago (2016-08-17 20:47:59 UTC) #21
Leaf
On 2016/08/17 20:47:59, John Messerly wrote: > On 2016/08/17 19:12:50, nweiz wrote: > > Until ...
4 years, 4 months ago (2016-08-17 20:53:11 UTC) #22
keertip
PTAL https://codereview.chromium.org/2250513003/diff/1/lib/src/delegate/future.dart File lib/src/delegate/future.dart (right): https://codereview.chromium.org/2250513003/diff/1/lib/src/delegate/future.dart#newcode31 lib/src/delegate/future.dart:31: _future.then(onValue, onError: onError); On 2016/08/16 22:36:24, John Messerly ...
4 years, 4 months ago (2016-08-18 17:51:06 UTC) #23
Jennifer Messerly
LGTM. We should work on getting the inference fixed so these guys get the nice ...
4 years, 4 months ago (2016-08-18 17:58:47 UTC) #24
keertip
Committed patchset #2 (id:20001) manually as c230c8128dc6f178743a917136461041036b4157 (presubmit successful).
4 years, 4 months ago (2016-08-18 18:03:10 UTC) #26
Leaf
lgtm
4 years, 4 months ago (2016-08-18 18:25:45 UTC) #27
nweiz
Please roll this back. All packages need to be compatible with the current *stable* analyzer, ...
4 years, 4 months ago (2016-08-18 20:11:16 UTC) #28
keertip
nweiz@ PTAL - revert the change.
4 years, 4 months ago (2016-08-18 20:28:47 UTC) #29
Jennifer Messerly
On 2016/08/18 20:11:16, nweiz wrote: > Please roll this back. All packages need to be ...
4 years, 4 months ago (2016-08-18 20:29:38 UTC) #30
keertip
On 2016/08/18 20:29:38, John Messerly wrote: > On 2016/08/18 20:11:16, nweiz wrote: > > Please ...
4 years, 4 months ago (2016-08-18 20:42:29 UTC) #31
nweiz
On 2016/08/18 20:29:38, John Messerly wrote: > On 2016/08/18 20:11:16, nweiz wrote: > > Please ...
4 years, 4 months ago (2016-08-18 22:14:59 UTC) #32
nweiz
LGTM
4 years, 4 months ago (2016-08-18 22:15:22 UTC) #33
Leaf
On 2016/08/18 22:15:22, nweiz wrote: > LGTM I'm looking at subclass Future inference now.
4 years, 4 months ago (2016-08-18 22:18:27 UTC) #34
keertip
4 years, 4 months ago (2016-08-18 23:12:02 UTC) #36
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7db0ec0b31b7d63c958dd3488ac99b46c2d3bead (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698