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

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

Issue 2376213003: Instantiate parameterized types of type parameters with 'dynamic' type arguments. (Closed)
Patch Set: Remove computeDefaultTypeArgument() and always use TypeSystem.instantiateToBounds(). Created 4 years, 2 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 } 147 }
148 148
149 @override 149 @override
150 @failingTest 150 @failingTest
151 void test_circularReference_viaClosures_initializerTypes() { 151 void test_circularReference_viaClosures_initializerTypes() {
152 super.test_circularReference_viaClosures_initializerTypes(); 152 super.test_circularReference_viaClosures_initializerTypes();
153 } 153 }
154 154
155 @override 155 @override
156 @failingTest 156 @failingTest
157 void test_constructors_inferenceFBounded() {
158 super.test_constructors_inferenceFBounded();
159 }
160
161 @override
162 @failingTest
163 void test_constructors_inferFromArguments() { 157 void test_constructors_inferFromArguments() {
164 // TODO(jmesserly): does this need to be implemented in AST summaries? 158 // TODO(jmesserly): does this need to be implemented in AST summaries?
165 // The test might need a change as well to not be based on local variable 159 // The test might need a change as well to not be based on local variable
166 // types, which don't seem to be available. 160 // types, which don't seem to be available.
167 super.test_constructors_inferFromArguments(); 161 super.test_constructors_inferFromArguments();
168 } 162 }
169 163
170 @override 164 @override
171 @failingTest 165 @failingTest
172 void test_constructors_inferFromArguments_const() { 166 void test_constructors_inferFromArguments_const() {
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 } 893 }
900 894
901 @override 895 @override
902 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK; 896 DartSdk createDartSdk() => AbstractContextTest.SHARED_MOCK_SDK;
903 897
904 @override 898 @override
905 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) { 899 TestSummaryResynthesizer encodeDecodeLibrarySource(Source source) {
906 return _encodeLibrary(source); 900 return _encodeLibrary(source);
907 } 901 }
908 } 902 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/link.dart ('k') | pkg/analyzer/test/src/summary/resynthesize_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698