blob: d137ba63cc7ea9270d98d6133fe2ab8cfe962a20 [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.
// Tests subtyping relationships after making package:js types live.
@JS()
library subtyping_live_test;
import 'package:js/js.dart';
import 'subtyping_test_util.dart';
@JS()
external dynamic get externalGetter;
void main() {
// Call to foreign function should trigger dart2js to assume types are live.
externalGetter;
testSubtyping();
}