Version 2.16.0-78.0.dev
Merge commit 'edf7b0587a2feb725f57cedd16eed918cf3d3ea6' into 'dev'
diff --git a/DEPS b/DEPS
index 5cf2d6e..cec2977 100644
--- a/DEPS
+++ b/DEPS
@@ -154,7 +154,7 @@
"source_maps_rev": "6499ee3adac8d469e2953e2e8ba4bdb4c2fbef90",
"source_span_rev": "1be3c44045a06dff840d2ed3a13e6082d7a03a23",
"sse_rev": "9084339389eb441d0c0518cddac211a097e78657",
- "stack_trace_rev": "6788afc61875079b71b3d1c3e65aeaa6a25cbc2f",
+ "stack_trace_rev": "5220580872625ddee41e9ca9a5f3364789b2f0f6",
"stream_channel_rev": "3fa3e40c75c210d617b8b943b9b8f580e9866a89",
"string_scanner_rev": "1b63e6e5db5933d7be0a45da6e1129fe00262734",
"sync_http_rev": "b59c134f2e34d12acac110d4f17f83e5a7db4330",
diff --git a/pkg/nnbd_migration/test/api_test.dart b/pkg/nnbd_migration/test/api_test.dart
index 182d33a..a2bbb70 100644
--- a/pkg/nnbd_migration/test/api_test.dart
+++ b/pkg/nnbd_migration/test/api_test.dart
@@ -954,6 +954,25 @@
});
}
+ @FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/47848')
+ Future<void> test_call_tearoff_futureOr() async {
+ var content = '''
+import 'dart:async';
+class C {
+ void call() {}
+}
+FutureOr<void Function()> f(C c) => c;
+''';
+ var expected = '''
+import 'dart:async';
+class C {
+ void call() {}
+}
+FutureOr<void Function()> f(C c) => c;
+''';
+ await _checkSingleFileChanges(content, expected);
+ }
+
Future<void> test_call_tearoff_inherited() async {
var content = '''
class B {
@@ -1006,6 +1025,23 @@
await _checkSingleFileChanges(content, expected);
}
+ @FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/47848')
+ Future<void> test_call_tearoff_raw_function() async {
+ var content = '''
+class C {
+ void call() {}
+}
+Function f(C c) => c;
+''';
+ var expected = '''
+class C {
+ void call() {}
+}
+Function f(C c) => c;
+''';
+ await _checkSingleFileChanges(content, expected);
+ }
+
Future<void> test_catch_simple() async {
var content = '''
void f() {
diff --git a/tools/VERSION b/tools/VERSION
index b80779c..42bc094 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 16
PATCH 0
-PRERELEASE 77
+PRERELEASE 78
PRERELEASE_PATCH 0
\ No newline at end of file