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

Side by Side Diff: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart

Issue 2260313002: Extend Future.then inference to subclasses (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebase Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.test.src.summary.resynthesize_ast_test; 5 library analyzer.test.src.summary.resynthesize_ast_test;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/element/element.dart'; 8 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/dart/element/element.dart'; 9 import 'package:analyzer/src/dart/element/element.dart';
10 import 'package:analyzer/src/generated/engine.dart' 10 import 'package:analyzer/src/generated/engine.dart'
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 } 202 }
203 203
204 @override 204 @override
205 @failingTest 205 @failingTest
206 void test_constructors_inferFromArguments_redirectingFactory() { 206 void test_constructors_inferFromArguments_redirectingFactory() {
207 super.test_constructors_inferFromArguments_redirectingFactory(); 207 super.test_constructors_inferFromArguments_redirectingFactory();
208 } 208 }
209 209
210 @override 210 @override
211 @failingTest 211 @failingTest
212 void test_futureThen() {
213 super.test_futureThen();
214 }
215
216 @override
217 @failingTest
218 void test_futureThen_conditional() {
219 super.test_futureThen_conditional();
220 }
221
222 @override
223 @failingTest
224 void test_futureThen_upwards() {
225 super.test_futureThen_upwards();
226 }
227
228 @override
229 @failingTest
230 void test_futureUnion_asyncConditional() {
231 super.test_futureUnion_asyncConditional();
232 }
233
234 @override
235 @failingTest
236 void test_futureUnion_downwards() {
237 super.test_futureUnion_downwards();
238 }
239
240 @override
241 @failingTest
212 void test_genericMethods_inferJSBuiltin() { 242 void test_genericMethods_inferJSBuiltin() {
213 super.test_genericMethods_inferJSBuiltin(); 243 super.test_genericMethods_inferJSBuiltin();
214 } 244 }
215 245
216 void test_infer_extractIndex_custom() { 246 void test_infer_extractIndex_custom() {
217 var unit = checkFile(''' 247 var unit = checkFile('''
218 class A { 248 class A {
219 String operator [](_) => null; 249 String operator [](_) => null;
220 } 250 }
221 var a = new A(); 251 var a = new A();
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 * directly, because then it would be overriding a field at the site where the 881 * directly, because then it would be overriding a field at the site where the
852 * mixin is instantiated. 882 * mixin is instantiated.
853 */ 883 */
854 abstract class _AstResynthesizeTestMixinInterface { 884 abstract class _AstResynthesizeTestMixinInterface {
855 /** 885 /**
856 * A test should return `true` to indicate that a missing file at the time of 886 * A test should return `true` to indicate that a missing file at the time of
857 * summary resynthesis shouldn't trigger an error. 887 * summary resynthesis shouldn't trigger an error.
858 */ 888 */
859 bool get allowMissingFiles; 889 bool get allowMissingFiles;
860 } 890 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/type_system.dart ('k') | pkg/analyzer/test/src/task/strong/inferred_type_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698