Files
sdk/pkg/front_end/test/unit_test_suites.dart
T
Paul Berry bec37f1896 Work around #45192 in unit_test_suites.dart
Bug: https://github.com/dart-lang/sdk/issues/45192
Change-Id: I54300959872b02bb783923ce51e4aa2392e6c482
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/189041
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-03-04 13:36:36 +00:00

21 lines
821 B
Dart

// 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.md file.
// @dart = 2.9
// This is a work-around for the automagically selecting weak/strong mode.
// By marking this file (the entry) as non-nnbd, it becomes weak mode which
// is required because many of the imports are not (yet) nnbd.
import 'unit_test_suites_impl.dart' as impl;
/// Work around https://github.com/dart-lang/sdk/issues/45192.
///
/// TODO(paulberry): once #45192 is fixed, we can switch the `import` directive
/// above to an `export` and remove this method, and this file will still be
/// considered by the analysis server to be runnable.
main(List<String> args) {
impl.main(args);
}