df7c4bb439
This an experimental change; we haven't yet decided whether we want to allow this. See https://github.com/dart-lang/language/issues/2939 for discussion. Bug: https://github.com/dart-lang/language/issues/2939 Change-Id: If69ab66d18ae7ec3dfc79496ce13517ef1c15227 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290907 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
13 lines
421 B
Dart
13 lines
421 B
Dart
// Copyright (c) 2023, 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.
|
|
|
|
// Non-null safe library allowing testing of mixed-mode behaviors in
|
|
// `empty_switch_expression_weak_test.dart`.
|
|
|
|
// @dart=2.9
|
|
|
|
import 'empty_switch_expression_weak_test.dart';
|
|
|
|
A nullOfTypeA() => null;
|