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

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

Issue 2205993002: fix #26990, incorrect substitution of upper bound (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sort 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 } 150 }
151 151
152 @override 152 @override
153 @failingTest 153 @failingTest
154 void test_circularReference_viaClosures_initializerTypes() { 154 void test_circularReference_viaClosures_initializerTypes() {
155 super.test_circularReference_viaClosures_initializerTypes(); 155 super.test_circularReference_viaClosures_initializerTypes();
156 } 156 }
157 157
158 @override 158 @override
159 @failingTest 159 @failingTest
160 void test_constructors_inferenceFBounded() {
161 super.test_constructors_inferenceFBounded();
162 }
163
164 @override
165 @failingTest
160 void test_constructors_inferFromArguments() { 166 void test_constructors_inferFromArguments() {
161 // TODO(jmesserly): does this need to be implemented in AST summaries? 167 // TODO(jmesserly): does this need to be implemented in AST summaries?
162 // The test might need a change as well to not be based on local variable 168 // The test might need a change as well to not be based on local variable
163 // types, which don't seem to be available. 169 // types, which don't seem to be available.
164 super.test_constructors_inferFromArguments(); 170 super.test_constructors_inferFromArguments();
165 } 171 }
166 172
167 @override 173 @override
168 @failingTest 174 @failingTest
169 void test_constructors_inferFromArguments_const() { 175 void test_constructors_inferFromArguments_const() {
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 } 812 }
807 813
808 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource); 814 UnlinkedUnit definingUnit = _getUnlinkedUnit(librarySource);
809 LinkedLibraryBuilder linkedLibrary = 815 LinkedLibraryBuilder linkedLibrary =
810 prelink(definingUnit, getPart, getImport); 816 prelink(definingUnit, getPart, getImport);
811 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) { 817 linkedLibrary.dependencies.skip(1).forEach((LinkedDependency d) {
812 _serializeLibrary(resolveRelativeUri(d.uri)); 818 _serializeLibrary(resolveRelativeUri(d.uri));
813 }); 819 });
814 } 820 }
815 } 821 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/type_system.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