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

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

Issue 2209293002: fix #26414, infer return types of local functions (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: mark failing ast inference 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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 } 560 }
561 561
562 @override 562 @override
563 @failingTest 563 @failingTest
564 void test_inferenceInCyclesIsDeterministic() { 564 void test_inferenceInCyclesIsDeterministic() {
565 super.test_inferenceInCyclesIsDeterministic(); 565 super.test_inferenceInCyclesIsDeterministic();
566 } 566 }
567 567
568 @override 568 @override
569 @failingTest 569 @failingTest
570 void test_inferLocalFunctionReturnType() {
571 super.test_inferLocalFunctionReturnType();
572 }
573
574 @override
575 @failingTest
570 void test_inferredType_opAssignToProperty_prefixedIdentifier() { 576 void test_inferredType_opAssignToProperty_prefixedIdentifier() {
571 super.test_inferredType_opAssignToProperty_prefixedIdentifier(); 577 super.test_inferredType_opAssignToProperty_prefixedIdentifier();
572 } 578 }
573 579
574 @override 580 @override
575 @failingTest 581 @failingTest
576 void test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface() { 582 void test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface() {
577 super 583 super
578 .test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface(); 584 .test_inferredType_opAssignToProperty_prefixedIdentifier_viaInterface();
579 } 585 }
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 } 824 }
819 825
820 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 826 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
821 LinkedLibraryBuilder linkedLibrary = 827 LinkedLibraryBuilder linkedLibrary =
822 prelink(definingUnit, getPart, getImport); 828 prelink(definingUnit, getPart, getImport);
823 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 829 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
824 _serializeLibrary(resolveRelativeUri(d.uri)); 830 _serializeLibrary(resolveRelativeUri(d.uri));
825 }); 831 });
826 } 832 }
827 } 833 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/generated/strong_mode_test.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