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

Issue 3012443003: Add a test of the runtime type of a tearoff that uses a covariant generic parameter. (Closed)

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

Description

Add a test of the runtime type of a tearoff that uses a covariant generic parameter. This case has caused some confusion so I thought it would be nice to have an explicit test case for it. R=leafp@google.com Committed: https://github.com/dart-lang/sdk/commit/804bcabcc12f24da64c32cf28d5531b1d2cf1712

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
A tests/language_2/covariant_tear_off_type_test.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
M tests/language_2/language_2_dart2js.status View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_precompiled.status View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/language_2/language_2_vm.status View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Paul Berry
3 years, 3 months ago (2017-08-28 16:05:57 UTC) #2
Leaf
lgtm https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart File tests/language_2/covariant_tear_off_type_test.dart (right): https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart#newcode5 tests/language_2/covariant_tear_off_type_test.dart:5: // Regression test for dart2js that used to ...
3 years, 3 months ago (2017-08-28 23:10:55 UTC) #3
Jennifer Messerly
https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart File tests/language_2/covariant_tear_off_type_test.dart (right): https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart#newcode5 tests/language_2/covariant_tear_off_type_test.dart:5: // Regression test for dart2js that used to be ...
3 years, 3 months ago (2017-08-28 23:50:56 UTC) #4
Jennifer Messerly
https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart File tests/language_2/covariant_tear_off_type_test.dart (right): https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart#newcode26 tests/language_2/covariant_tear_off_type_test.dart:26: Expect.isTrue(tearoff is F<Object, int>); Here's another test we can ...
3 years, 3 months ago (2017-08-28 23:54:16 UTC) #5
Paul Berry
https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart File tests/language_2/covariant_tear_off_type_test.dart (right): https://codereview.chromium.org/3012443003/diff/1/tests/language_2/covariant_tear_off_type_test.dart#newcode5 tests/language_2/covariant_tear_off_type_test.dart:5: // Regression test for dart2js that used to be ...
3 years, 3 months ago (2017-08-29 17:24:49 UTC) #6
Paul Berry
3 years, 3 months ago (2017-08-29 17:50:47 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
804bcabcc12f24da64c32cf28d5531b1d2cf1712 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698