Skip to content

Commit

Permalink
Work around #45192 in unit_test_suites.dart
Browse files Browse the repository at this point in the history
Bug: #45192
Change-Id: I54300959872b02bb783923ce51e4aa2392e6c482
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/189041
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
  • Loading branch information
stereotype441 authored and [email protected] committed Mar 4, 2021
1 parent 50cda7c commit bec37f1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkg/front_end/test/unit_test_suites.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,13 @@
// 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.

export 'unit_test_suites_impl.dart';
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);
}

0 comments on commit bec37f1

Please sign in to comment.