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

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

Issue 2986393002: Record Typedef reference into Kernel FunctionType and resynthesyze typedefs in Analyzer. (Closed)
Patch Set: Drop @informative for typedefReference. Created 3 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) 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 214 }
215 215
216 @failingTest 216 @failingTest
217 @fastaProblem 217 @fastaProblem
218 test_const_invokeConstructor_unnamed_unresolved3() async { 218 test_const_invokeConstructor_unnamed_unresolved3() async {
219 // https://github.com/dart-lang/sdk/issues/30267 219 // https://github.com/dart-lang/sdk/issues/30267
220 await super.test_const_invokeConstructor_unnamed_unresolved3(); 220 await super.test_const_invokeConstructor_unnamed_unresolved3();
221 } 221 }
222 222
223 @failingTest 223 @failingTest
224 test_const_reference_type() async {
225 await super.test_const_reference_type();
226 }
227
228 @failingTest
229 test_const_reference_type_functionType() async { 224 test_const_reference_type_functionType() async {
230 await super.test_const_reference_type_functionType(); 225 await super.test_const_reference_type_functionType();
231 } 226 }
232 227
233 @failingTest 228 @failingTest
234 test_const_reference_type_imported() async {
235 await super.test_const_reference_type_imported();
236 }
237
238 @failingTest
239 test_const_reference_type_imported_withPrefix() async { 229 test_const_reference_type_imported_withPrefix() async {
240 await super.test_const_reference_type_imported_withPrefix(); 230 await super.test_const_reference_type_imported_withPrefix();
241 } 231 }
242 232
243 @failingTest 233 @failingTest
244 test_const_reference_type_typeParameter() async { 234 test_const_reference_type_typeParameter() async {
245 await super.test_const_reference_type_typeParameter(); 235 await super.test_const_reference_type_typeParameter();
246 } 236 }
247 237
248 @failingTest 238 @failingTest
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 test_import_invalidUri_metadata() async { 505 test_import_invalidUri_metadata() async {
516 await super.test_import_invalidUri_metadata(); 506 await super.test_import_invalidUri_metadata();
517 } 507 }
518 508
519 @failingTest 509 @failingTest
520 test_import_self() async { 510 test_import_self() async {
521 await super.test_import_self(); 511 await super.test_import_self();
522 } 512 }
523 513
524 @failingTest 514 @failingTest
525 test_inferred_type_is_typedef() async {
526 await super.test_inferred_type_is_typedef();
527 }
528
529 @failingTest
530 test_inferred_type_refers_to_function_typed_param_of_typedef() async { 515 test_inferred_type_refers_to_function_typed_param_of_typedef() async {
531 await super.test_inferred_type_refers_to_function_typed_param_of_typedef(); 516 await super.test_inferred_type_refers_to_function_typed_param_of_typedef();
532 } 517 }
533 518
534 @failingTest 519 @failingTest
535 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy nc { 520 test_inferred_type_refers_to_function_typed_parameter_type_generic_class() asy nc {
536 await super 521 await super
537 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas s(); 522 .test_inferred_type_refers_to_function_typed_parameter_type_generic_clas s();
538 } 523 }
539 524
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
772 test_type_invalid_topLevelVariableElement_asTypeArgument() async { 757 test_type_invalid_topLevelVariableElement_asTypeArgument() async {
773 await super.test_type_invalid_topLevelVariableElement_asTypeArgument(); 758 await super.test_type_invalid_topLevelVariableElement_asTypeArgument();
774 } 759 }
775 760
776 @failingTest 761 @failingTest
777 test_type_invalid_typeParameter_asPrefix() async { 762 test_type_invalid_typeParameter_asPrefix() async {
778 await super.test_type_invalid_typeParameter_asPrefix(); 763 await super.test_type_invalid_typeParameter_asPrefix();
779 } 764 }
780 765
781 @failingTest 766 @failingTest
782 test_type_reference_lib_to_lib() async {
783 await super.test_type_reference_lib_to_lib();
784 }
785
786 @failingTest
787 test_type_reference_lib_to_part() async {
788 await super.test_type_reference_lib_to_part();
789 }
790
791 @failingTest
792 test_type_reference_part_to_lib() async {
793 await super.test_type_reference_part_to_lib();
794 }
795
796 @failingTest
797 test_type_reference_part_to_other_part() async {
798 await super.test_type_reference_part_to_other_part();
799 }
800
801 @failingTest
802 test_type_reference_part_to_part() async {
803 await super.test_type_reference_part_to_part();
804 }
805
806 @failingTest
807 test_type_reference_to_import() async {
808 await super.test_type_reference_to_import();
809 }
810
811 @failingTest
812 test_type_reference_to_import_export() async {
813 await super.test_type_reference_to_import_export();
814 }
815
816 @failingTest
817 test_type_reference_to_import_export_export() async {
818 await super.test_type_reference_to_import_export_export();
819 }
820
821 @failingTest
822 test_type_reference_to_import_export_export_in_subdirs() async {
823 await super.test_type_reference_to_import_export_export_in_subdirs();
824 }
825
826 @failingTest
827 test_type_reference_to_import_export_in_subdirs() async {
828 await super.test_type_reference_to_import_export_in_subdirs();
829 }
830
831 @failingTest
832 test_type_reference_to_import_part() async {
833 await super.test_type_reference_to_import_part();
834 }
835
836 @failingTest
837 test_type_reference_to_import_part_in_subdir() async {
838 await super.test_type_reference_to_import_part_in_subdir();
839 }
840
841 @failingTest
842 test_type_reference_to_import_relative() async {
843 await super.test_type_reference_to_import_relative();
844 }
845
846 @failingTest
847 test_type_reference_to_typedef() async {
848 await super.test_type_reference_to_typedef();
849 }
850
851 @failingTest
852 test_type_reference_to_typedef_with_type_arguments() async { 767 test_type_reference_to_typedef_with_type_arguments() async {
853 await super.test_type_reference_to_typedef_with_type_arguments(); 768 await super.test_type_reference_to_typedef_with_type_arguments();
854 } 769 }
855 770
856 @failingTest 771 @failingTest
857 test_type_reference_to_typedef_with_type_arguments_implicit() async { 772 test_type_reference_to_typedef_with_type_arguments_implicit() async {
858 await super.test_type_reference_to_typedef_with_type_arguments_implicit(); 773 await super.test_type_reference_to_typedef_with_type_arguments_implicit();
859 } 774 }
860 775
861 @failingTest 776 @failingTest
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 @override 957 @override
1043 Future<List<int>> readAsBytes() async { 958 Future<List<int>> readAsBytes() async {
1044 return file.readAsBytesSync(); 959 return file.readAsBytesSync();
1045 } 960 }
1046 961
1047 @override 962 @override
1048 Future<String> readAsString() async { 963 Future<String> readAsString() async {
1049 return file.readAsStringSync(); 964 return file.readAsStringSync();
1050 } 965 }
1051 } 966 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698