mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:09:49 +00:00
2360783808
Remove messages referring to expired `non-nullable` experiment. Remove occurrences of --enable-experiment with expired experiments. TEST=Flags were expired. If existing tests still run, it's a success. Change-Id: Id66d78eb0a3191ec5e31375faf0effd9ea7b768f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219789 Auto-Submit: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
18 lines
497 B
Dart
18 lines
497 B
Dart
// Copyright (c) 2019, 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 exported extensions.
|
|
|
|
import "regress_flutter_42845_lib.dart";
|
|
export "regress_flutter_42845_lib.dart" show TestExtension, UnusedExtension;
|
|
|
|
import "package:expect/expect.dart";
|
|
|
|
int i = 42;
|
|
|
|
void main() {
|
|
Expect.isTrue(i.isPositive);
|
|
Expect.isFalse(i.isNegative);
|
|
}
|