4cd0926703
Adds some basic tests to check for runtime subtyping with JS interop types. Uses function types only to check for subtyping relationships. Extends some tests on is and as checks as well. Change-Id: I9cbc91d0c475fba3213dd9a3443921232c286804 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170660 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
11 lines
315 B
Dart
11 lines
315 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.
|
|
|
|
import 'extends_test_util.dart';
|
|
|
|
void main() {
|
|
setUpWithoutES6Syntax();
|
|
testInheritance();
|
|
}
|