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

Issue 2671113002: fix #28642, handling of top and bottom types in DDC (Closed)

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

Description

fix #28642, handling of top and bottom types in DDC in particular: void, Null, and combinations with FutureOr<T> R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/5817ba47e26469fa276c3a87bfdbcd6996894b96

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 5

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -48 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M pkg/dev_compiler/test/browser/runtime_tests.js View 1 2 7 chunks +59 lines, -13 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart View 1 2 2 chunks +6 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Jennifer Messerly
3 years, 10 months ago (2017-02-06 20:38:11 UTC) #2
Leaf
Can you try out the fix I discussed below? If that fixes the expectation changes ...
3 years, 10 months ago (2017-02-06 21:11:59 UTC) #4
Jennifer Messerly
okay I'll rerun with the _isTop check and land if that works for you. I'm ...
3 years, 10 months ago (2017-02-06 22:50:12 UTC) #5
Leaf
works for me. https://codereview.chromium.org/2671113002/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart (left): https://codereview.chromium.org/2671113002/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart#oldcode666 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/types.dart:666: return ret2 === $dynamic || ret2 ...
3 years, 10 months ago (2017-02-06 22:55:54 UTC) #6
Jennifer Messerly
3 years, 10 months ago (2017-02-06 22:56:22 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
5817ba47e26469fa276c3a87bfdbcd6996894b96 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698