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

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

Issue 3004163002: Don't treat typedef-typed formal parameters as funtion-type from resynthesize from Kernel. (Closed)
Patch Set: Created 3 years, 3 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
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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_kernel_test; 5 library analyzer.test.src.summary.resynthesize_kernel_test;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analyzer/file_system/file_system.dart'; 9 import 'package:analyzer/file_system/file_system.dart';
10 import 'package:analyzer/file_system/memory_file_system.dart'; 10 import 'package:analyzer/file_system/memory_file_system.dart';
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 // https://github.com/dart-lang/sdk/issues/30258 299 // https://github.com/dart-lang/sdk/issues/30258
300 await super.test_constructor_redirected_factory_unnamed_prefixed_generic(); 300 await super.test_constructor_redirected_factory_unnamed_prefixed_generic();
301 } 301 }
302 302
303 @failingTest 303 @failingTest
304 test_error_extendsEnum() async { 304 test_error_extendsEnum() async {
305 await super.test_error_extendsEnum(); 305 await super.test_error_extendsEnum();
306 } 306 }
307 307
308 @failingTest 308 @failingTest
309 test_executable_parameter_type_typedef() async {
310 await super.test_executable_parameter_type_typedef();
311 }
312
313 @failingTest
314 test_export_configurations_useDefault() async { 309 test_export_configurations_useDefault() async {
315 await super.test_export_configurations_useDefault(); 310 await super.test_export_configurations_useDefault();
316 } 311 }
317 312
318 @failingTest 313 @failingTest
319 test_export_configurations_useFirst() async { 314 test_export_configurations_useFirst() async {
320 await super.test_export_configurations_useFirst(); 315 await super.test_export_configurations_useFirst();
321 } 316 }
322 317
323 @failingTest 318 @failingTest
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 test_import_deferred() async { 354 test_import_deferred() async {
360 await super.test_import_deferred(); 355 await super.test_import_deferred();
361 } 356 }
362 357
363 @failingTest 358 @failingTest
364 test_import_invalidUri_metadata() async { 359 test_import_invalidUri_metadata() async {
365 await super.test_import_invalidUri_metadata(); 360 await super.test_import_invalidUri_metadata();
366 } 361 }
367 362
368 @failingTest 363 @failingTest
369 test_inferred_type_refers_to_function_typed_param_of_typedef() async {
370 await super.test_inferred_type_refers_to_function_typed_param_of_typedef();
371 }
372
373 @failingTest
374 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy nc { 364 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy nc {
375 await super 365 await super
376 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas s(); 366 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas s();
377 } 367 }
378 368
379 @failingTest 369 @failingTest
380 test_inferred_type_refers_to_method_function_typed_parameter_type() async { 370 test_inferred_type_refers_to_method_function_typed_parameter_type() async {
381 await super 371 await super
382 .test_inferred_type_refers_to_method_function_typed_parameter_type(); 372 .test_inferred_type_refers_to_method_function_typed_parameter_type();
383 } 373 }
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 @override 791 @override
802 Future<List<int>> readAsBytes() async { 792 Future<List<int>> readAsBytes() async {
803 return file.readAsBytesSync(); 793 return file.readAsBytesSync();
804 } 794 }
805 795
806 @override 796 @override
807 Future<String> readAsString() async { 797 Future<String> readAsString() async {
808 return file.readAsStringSync(); 798 return file.readAsStringSync();
809 } 799 }
810 } 800 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698