OLD | NEW |
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 @failingTest | 129 @failingTest |
130 @fastaProblem | 130 @fastaProblem |
131 test_class_type_parameters_bound() async { | 131 test_class_type_parameters_bound() async { |
132 // Fasta does not provide a flag for explicit vs. implicit Object bound. | 132 // Fasta does not provide a flag for explicit vs. implicit Object bound. |
133 await super.test_class_type_parameters_bound(); | 133 await super.test_class_type_parameters_bound(); |
134 } | 134 } |
135 | 135 |
136 @failingTest | 136 @failingTest |
137 @fastaProblem | 137 @fastaProblem |
138 test_closure_generic() async { | |
139 // https://github.com/dart-lang/sdk/issues/30265 | |
140 await super.test_closure_generic(); | |
141 } | |
142 | |
143 @failingTest | |
144 @fastaProblem | |
145 test_const_invalid_field_const() async { | 138 test_const_invalid_field_const() async { |
146 // Fasta generates additional `#errors` top-level variable. | 139 // Fasta generates additional `#errors` top-level variable. |
147 await super.test_const_invalid_field_const(); | 140 await super.test_const_invalid_field_const(); |
148 } | 141 } |
149 | 142 |
150 @failingTest | 143 @failingTest |
151 @fastaProblem | 144 @fastaProblem |
152 test_const_invalid_intLiteral() async { | 145 test_const_invalid_intLiteral() async { |
153 // https://github.com/dart-lang/sdk/issues/30266 | 146 // https://github.com/dart-lang/sdk/issues/30266 |
154 await super.test_const_invalid_intLiteral(); | 147 await super.test_const_invalid_intLiteral(); |
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 @override | 944 @override |
952 Future<List<int>> readAsBytes() async { | 945 Future<List<int>> readAsBytes() async { |
953 return file.readAsBytesSync(); | 946 return file.readAsBytesSync(); |
954 } | 947 } |
955 | 948 |
956 @override | 949 @override |
957 Future<String> readAsString() async { | 950 Future<String> readAsString() async { |
958 return file.readAsStringSync(); | 951 return file.readAsStringSync(); |
959 } | 952 } |
960 } | 953 } |
OLD | NEW |