mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 15:21:54 +00:00
654b725ee4
Also splits up cast_test to test collections separately and updates corelib_2 version with the same changes, including fixes in relevant pending CL: https://dart-review.googlesource.com/c/sdk/+/126320 Fixes #39517 Bug: http://dartbug.com/39517 Change-Id: I8df1fde1d48ed23561ce9d0d8b87d7fc2ba52eb1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/144469 Commit-Queue: Riley Porter <rileyporter@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com>
19 lines
403 B
Dart
19 lines
403 B
Dart
// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
final elements = <C?>[c, d, e, f, null];
|
|
|
|
class C {}
|
|
|
|
class D extends C {}
|
|
|
|
class E extends C {}
|
|
|
|
class F implements D, E {}
|
|
|
|
final c = C();
|
|
final d = D();
|
|
final e = E();
|
|
final f = F();
|