blob: 1d895bf28fa768fce392b6a8f88257302163d8fd [file] [log] [blame]
// Copyright (c) 2021, 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.
// @dart=2.9
// Tests inheritance subtyping relationships after making package:js types live.
@JS()
library extends_subtyping_live_test;
import 'package:js/js.dart';
import 'extends_test_util.dart';
@JS()
external dynamic get externalGetter;
void main() {
// Call to foreign function should trigger dart2js to assume types are live.
externalGetter;
testSubtyping();
}