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

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

Issue 2092333002: fix #25794, infer parameter type from default value, in AST summaries (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix comment Created 4 years, 5 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 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 } 503 }
504 504
505 @override 505 @override
506 @failingTest 506 @failingTest
507 void test_inferCorrectlyOnMultipleVariablesDeclaredTogether() { 507 void test_inferCorrectlyOnMultipleVariablesDeclaredTogether() {
508 super.test_inferCorrectlyOnMultipleVariablesDeclaredTogether(); 508 super.test_inferCorrectlyOnMultipleVariablesDeclaredTogether();
509 } 509 }
510 510
511 @override 511 @override
512 @failingTest 512 @failingTest
513 void test_inferDefaultFormalParameter() {
514 super.test_inferDefaultFormalParameter();
515 }
516
517 @override
518 @failingTest
519 void test_inferenceInCyclesIsDeterministic() { 513 void test_inferenceInCyclesIsDeterministic() {
520 super.test_inferenceInCyclesIsDeterministic(); 514 super.test_inferenceInCyclesIsDeterministic();
521 } 515 }
522 516
523 @override 517 @override
524 @failingTest 518 @failingTest
525 void test_inferredType_opAssignToProperty_prefixedIdentifier() { 519 void test_inferredType_opAssignToProperty_prefixedIdentifier() {
526 super.test_inferredType_opAssignToProperty_prefixedIdentifier(); 520 super.test_inferredType_opAssignToProperty_prefixedIdentifier();
527 } 521 }
528 522
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 } 695 }
702 696
703 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 697 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
704 LinkedLibraryBuilder linkedLibrary = 698 LinkedLibraryBuilder linkedLibrary =
705 prelink(definingUnit, getPart, getImport); 699 prelink(definingUnit, getPart, getImport);
706 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 700 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
707 _serializeLibrary(resolveRelativeUri(d.uri)); 701 _serializeLibrary(resolveRelativeUri(d.uri));
708 }); 702 });
709 } 703 }
710 } 704 }
OLDNEW
« pkg/analyzer/lib/src/summary/link.dart ('K') | « pkg/analyzer/lib/src/summary/summarize_ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698