Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1298)

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart

Issue 2667343005: Infer Null for return type of functions with empty returns. (Closed)
Patch Set: Avoid merge conflict Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
index b320ee14dc53a4db89384dc0662975a2f85efba8..b101aa64df0ac2e7a8257988cc988782561c74c7 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
@@ -107,14 +107,26 @@ class AstInferredTypeTest extends AbstractResynthesizeTest
@override
@failingTest
- void test_blockBodiedLambdas_doesNotInferBottom_asyncStar_topLevel() {
- super.test_blockBodiedLambdas_doesNotInferBottom_asyncStar_topLevel();
+ void test_blockBodiedLambdas_inferBottom_async_topLevel() {
+ super.test_blockBodiedLambdas_inferBottom_async_topLevel();
}
@override
@failingTest
- void test_blockBodiedLambdas_doesNotInferBottom_syncStar_topLevel() {
- super.test_blockBodiedLambdas_doesNotInferBottom_syncStar_topLevel();
+ void test_blockBodiedLambdas_inferBottom_asyncStar_topLevel() {
+ super.test_blockBodiedLambdas_inferBottom_asyncStar_topLevel();
+ }
+
+ @override
+ @failingTest
+ void test_blockBodiedLambdas_inferBottom_sync_topLevel() {
+ super.test_blockBodiedLambdas_inferBottom_sync_topLevel();
+ }
+
+ @override
+ @failingTest
+ void test_blockBodiedLambdas_inferBottom_syncStar_topLevel() {
+ super.test_blockBodiedLambdas_inferBottom_syncStar_topLevel();
}
@override
@@ -553,6 +565,18 @@ var b = a.m();
@override
@failingTest
+ void test_inferredType_blockBodiedClosure_noArguments() {
+ super.test_inferredType_blockBodiedClosure_noArguments();
+ }
+
+ @override
+ @failingTest
+ void test_inferredType_blockClosure_noArgs_noReturn() {
+ super.test_inferredType_blockClosure_noArgs_noReturn();
+ }
+
+ @override
+ @failingTest
void test_inferredType_opAssignToProperty_prefixedIdentifier() {
super.test_inferredType_opAssignToProperty_prefixedIdentifier();
}

Powered by Google App Engine
This is Rietveld 408576698