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

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

Issue 1880803002: Fix AST-based type inference on empty lists. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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/lib/src/summary/link.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) 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 299 }
300 300
301 @override 301 @override
302 @failingTest 302 @failingTest
303 void test_inferenceInCyclesIsDeterministic() { 303 void test_inferenceInCyclesIsDeterministic() {
304 super.test_inferenceInCyclesIsDeterministic(); 304 super.test_inferenceInCyclesIsDeterministic();
305 } 305 }
306 306
307 @override 307 @override
308 @failingTest 308 @failingTest
309 void test_inferFromComplexExpressionsIfOuterMostValueIsPrecise() {
310 super.test_inferFromComplexExpressionsIfOuterMostValueIsPrecise();
311 }
312
313 @override
314 @failingTest
315 void test_inferFromRhsOnlyIfItWontConflictWithOverriddenFields() { 309 void test_inferFromRhsOnlyIfItWontConflictWithOverriddenFields() {
316 super.test_inferFromRhsOnlyIfItWontConflictWithOverriddenFields(); 310 super.test_inferFromRhsOnlyIfItWontConflictWithOverriddenFields();
317 } 311 }
318 312
319 @override 313 @override
320 @failingTest 314 @failingTest
321 void test_inferTypesOnGenericInstantiations_4() { 315 void test_inferTypesOnGenericInstantiations_4() {
322 super.test_inferTypesOnGenericInstantiations_4(); 316 super.test_inferTypesOnGenericInstantiations_4();
323 } 317 }
324 318
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 } 555 }
562 556
563 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 557 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
564 LinkedLibraryBuilder linkedLibrary = 558 LinkedLibraryBuilder linkedLibrary =
565 prelink(definingUnit, getPart, getImport); 559 prelink(definingUnit, getPart, getImport);
566 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 560 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
567 _serializeLibrary(resolveRelativeUri(d.uri)); 561 _serializeLibrary(resolveRelativeUri(d.uri));
568 }); 562 });
569 } 563 }
570 } 564 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698