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

Issue 2859703004: Re-remove ad hoc Future.then inference. (Closed)

Created:
3 years, 7 months ago by Leaf
Modified:
3 years, 7 months ago
Reviewers:
Jennifer Messerly
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com, Paul Berry
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Re-remove ad hoc Future.then inference. Ad hoc inference for Future.then (and overrides) was kept in place for an extra release cycle to allow code that implemented the Future interface to work both before and after the transition to using FutureOr for the callback return type. This CL removes support for this ad hoc inference. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/006c22d0a271ae2ec38fe8124aeb8b071729f651

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1000 lines) Patch
M CHANGELOG.md View 1 chunk +11 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 2 chunks +2 lines, -44 lines 0 comments Download
M pkg/analyzer/lib/src/generated/static_type_analyzer.dart View 1 chunk +0 lines, -40 lines 0 comments Download
M pkg/analyzer/test/src/task/strong/inferred_type_test.dart View 5 chunks +1 line, -171 lines 0 comments Download
M pkg/front_end/test/fasta/compile.status View 1 chunk +0 lines, -19 lines 0 comments Download
M pkg/front_end/test/fasta/outline.status View 1 chunk +0 lines, -19 lines 0 comments Download
M pkg/front_end/test/fasta/strong.status View 1 chunk +0 lines, -19 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_conditional_deprecated.dart View 1 chunk +0 lines, -33 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_conditional_deprecated_2.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_conditional_deprecated_3.dart View 1 chunk +0 lines, -33 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_conditional_deprecated_4.dart View 1 chunk +0 lines, -35 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated_2.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated_3.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated_4.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated_5.dart View 1 chunk +0 lines, -46 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_deprecated_6.dart View 1 chunk +0 lines, -46 lines 0 comments Download
M pkg/front_end/testcases/inference/future_then_explicit_future.dart View 1 chunk +3 lines, -3 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_upwards_deprecated.dart View 1 chunk +0 lines, -28 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_upwards_deprecated_2.dart View 1 chunk +0 lines, -28 lines 0 comments Download
D pkg/front_end/testcases/inference/future_then_upwards_deprecated_3.dart View 1 chunk +0 lines, -28 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_async_conditional_deprecated.dart View 1 chunk +0 lines, -30 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_async_conditional_deprecated_2.dart View 1 chunk +0 lines, -31 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_downwards_deprecated.dart View 1 chunk +0 lines, -32 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_downwards_deprecated_2.dart View 1 chunk +0 lines, -32 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_downwards_deprecated_3.dart View 1 chunk +0 lines, -32 lines 0 comments Download
D pkg/front_end/testcases/inference/future_union_downwards_deprecated_4.dart View 1 chunk +0 lines, -32 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Leaf
3 years, 7 months ago (2017-05-04 00:32:20 UTC) #2
Jennifer Messerly
lgtm.then((_) => lgtm ? lgtm : new Future.value(lgtm)) =D
3 years, 7 months ago (2017-05-04 00:36:37 UTC) #3
Leaf
3 years, 7 months ago (2017-05-04 17:45:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
006c22d0a271ae2ec38fe8124aeb8b071729f651 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698