Version 2.10.0-72.0.dev
Merge commit 'e7b3737b8429a07762c047c2b6cf66243552e7b4' into 'dev'
diff --git a/tests/language/nnbd/experiment_release_version/opt_in_test.dart b/tests/language/nnbd/experiment_release_version/opt_in_test.dart
new file mode 100644
index 0000000..f715e5f
--- /dev/null
+++ b/tests/language/nnbd/experiment_release_version/opt_in_test.dart
@@ -0,0 +1,15 @@
+// Copyright (c) 2020, 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.
+
+// This version should continue to opt in to null safety in purpetuity (or at
+// least until Dart 3), when the experiment is enabled.
+// @dart = 2.10
+
+void main() {
+ // This should be an error since we are opted in.
+ int x = null;
+ // ^^^^
+ // [analyzer] COMPILE_TIME_ERROR.INVALID_ASSIGNMENT
+ // [cfe] A value of type 'Null' can't be assigned to a variable of type 'int'.
+}
diff --git a/tests/language/nnbd/experiment_release_version/opt_out_test.dart b/tests/language/nnbd/experiment_release_version/opt_out_test.dart
new file mode 100644
index 0000000..cd9fcde
--- /dev/null
+++ b/tests/language/nnbd/experiment_release_version/opt_out_test.dart
@@ -0,0 +1,16 @@
+// Copyright (c) 2020, 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.
+
+// This version should opt out of null safety on all sdks after 2.9, regardless
+// of the experiment flag.
+// @dart = 2.9
+// Requirements=nnbd-weak
+
+void main() {
+ // This should be an error since we are opted out.
+ int? x;
+ // ^
+ // [analyzer] SYNTACTIC_ERROR.EXPERIMENT_NOT_ENABLED
+ // [cfe] Null safety features are disabled for this library.
+}
diff --git a/tools/VERSION b/tools/VERSION
index ce0ea53..7d91b68 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 10
PATCH 0
-PRERELEASE 71
+PRERELEASE 72
PRERELEASE_PATCH 0
\ No newline at end of file