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

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

Issue 3008453002: Build / resynthesize final fields as ConstFieldElementImpl only if the enclosing class has a consta… (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/test/src/summary/resynthesize_common.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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 } 211 }
212 212
213 @failingTest 213 @failingTest
214 @fastaProblem 214 @fastaProblem
215 test_const_invokeConstructor_unnamed_unresolved3() async { 215 test_const_invokeConstructor_unnamed_unresolved3() async {
216 // https://github.com/dart-lang/sdk/issues/30267 216 // https://github.com/dart-lang/sdk/issues/30267
217 await super.test_const_invokeConstructor_unnamed_unresolved3(); 217 await super.test_const_invokeConstructor_unnamed_unresolved3();
218 } 218 }
219 219
220 @failingTest 220 @failingTest
221 test_const_reference_type_functionType() async {
222 await super.test_const_reference_type_functionType();
223 }
224
225 @failingTest
226 test_const_reference_type_imported_withPrefix() async { 221 test_const_reference_type_imported_withPrefix() async {
227 await super.test_const_reference_type_imported_withPrefix(); 222 await super.test_const_reference_type_imported_withPrefix();
228 } 223 }
229 224
230 @failingTest 225 @failingTest
231 test_const_reference_type_typeParameter() async {
232 await super.test_const_reference_type_typeParameter();
233 }
234
235 @failingTest
236 @fastaProblem 226 @fastaProblem
237 test_const_reference_unresolved_prefix0() async { 227 test_const_reference_unresolved_prefix0() async {
238 // https://github.com/dart-lang/sdk/issues/30267 228 // https://github.com/dart-lang/sdk/issues/30267
239 await super.test_const_reference_unresolved_prefix0(); 229 await super.test_const_reference_unresolved_prefix0();
240 } 230 }
241 231
242 @failingTest 232 @failingTest
243 @fastaProblem 233 @fastaProblem
244 test_const_reference_unresolved_prefix1() async { 234 test_const_reference_unresolved_prefix1() async {
245 // https://github.com/dart-lang/sdk/issues/30267 235 // https://github.com/dart-lang/sdk/issues/30267
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 test_exportImport_configurations_useFirst() async { 375 test_exportImport_configurations_useFirst() async {
386 await super.test_exportImport_configurations_useFirst(); 376 await super.test_exportImport_configurations_useFirst();
387 } 377 }
388 378
389 @failingTest 379 @failingTest
390 test_field_covariant() async { 380 test_field_covariant() async {
391 await super.test_field_covariant(); 381 await super.test_field_covariant();
392 } 382 }
393 383
394 @failingTest 384 @failingTest
395 test_field_propagatedType_final_dep_inLib() async {
396 await super.test_field_propagatedType_final_dep_inLib();
397 }
398
399 @failingTest
400 test_field_propagatedType_final_dep_inPart() async {
401 await super.test_field_propagatedType_final_dep_inPart();
402 }
403
404 @failingTest
405 test_field_propagatedType_final_noDep_instance() async {
406 await super.test_field_propagatedType_final_noDep_instance();
407 }
408
409 @failingTest
410 test_genericFunction_asGenericFunctionReturnType() async { 385 test_genericFunction_asGenericFunctionReturnType() async {
411 await super.test_genericFunction_asGenericFunctionReturnType(); 386 await super.test_genericFunction_asGenericFunctionReturnType();
412 } 387 }
413 388
414 @failingTest 389 @failingTest
415 test_genericFunction_asParameterType() async { 390 test_genericFunction_asParameterType() async {
416 await super.test_genericFunction_asParameterType(); 391 await super.test_genericFunction_asParameterType();
417 } 392 }
418 393
419 @failingTest 394 @failingTest
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 @override 897 @override
923 Future<List<int>> readAsBytes() async { 898 Future<List<int>> readAsBytes() async {
924 return file.readAsBytesSync(); 899 return file.readAsBytesSync();
925 } 900 }
926 901
927 @override 902 @override
928 Future<String> readAsString() async { 903 Future<String> readAsString() async {
929 return file.readAsStringSync(); 904 return file.readAsStringSync();
930 } 905 }
931 } 906 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/resynthesize_common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698