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

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

Issue 2176693003: Issue a strong mode warning for type inference that is unsafe with AST-based summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address code review comments. Created 4 years, 5 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 431bcf04388f5735242f5358190cb8579c1bfacf..4321f0d163084c4e6f06f2c584325569f0d21816 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
@@ -592,6 +592,72 @@ var v = new C().m(1, b: 'bbb', c: 2.0);
expect(unit.topLevelVariables[0].type.toString(), 'int');
}
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_closureCall() {
+ super.test_unsafeBlockClosureInference_closureCall();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_constructorCall_implicitTypeParam() {
+ super.test_unsafeBlockClosureInference_constructorCall_implicitTypeParam();
+ }
+
+ @override
+ @failingTest
+ void
+ test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2() {
+ super
+ .test_unsafeBlockClosureInference_functionCall_explicitDynamicParam_viaExpr2();
+ }
+
+ @override
+ @failingTest
+ void
+ test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2() {
+ super
+ .test_unsafeBlockClosureInference_functionCall_explicitTypeParam_viaExpr2();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_functionCall_implicitTypeParam() {
+ super.test_unsafeBlockClosureInference_functionCall_implicitTypeParam();
+ }
+
+ @override
+ @failingTest
+ void
+ test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr() {
+ super
+ .test_unsafeBlockClosureInference_functionCall_implicitTypeParam_viaExpr();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr() {
+ super.test_unsafeBlockClosureInference_functionCall_noTypeParam_viaExpr();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_inList_untyped() {
+ super.test_unsafeBlockClosureInference_inList_untyped();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_inMap_untyped() {
+ super.test_unsafeBlockClosureInference_inMap_untyped();
+ }
+
+ @override
+ @failingTest
+ void test_unsafeBlockClosureInference_methodCall_implicitTypeParam() {
+ super.test_unsafeBlockClosureInference_methodCall_implicitTypeParam();
+ }
+
LibraryElementImpl _checkSource(
SummaryResynthesizer resynthesizer, Source source) {
LibraryElementImpl resynthesized =

Powered by Google App Engine
This is Rietveld 408576698