Files
sdk/pkg/front_end/testcases/dartdevc/conditional_export_lib3.dart
T
Johnni Winther a8e2293752 [cfe] Add tests for conditional exports and parts
Conditional exports was never tested through expectation tests.

Conditional parts is not fully support yet, but is in the process of being removed from the feature. The added test will show this once parser support is removed.

Change-Id: Ibb096a85d5b63d9f35acddff23f61dc31eb2a9c8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452441
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2025-10-01 03:29:28 -07:00

6 lines
289 B
Dart

// Copyright (c) 2025, 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.
export "conditional_export_lib4.dart" if (dart.library.foo) "dart:foo";