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

Unified Diff: pkg/analyzer/test/src/summary/summary_common.dart

Issue 1683813005: Fix summarization of generic redirecting constructors (again). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/summary/summary_common.dart
diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
index f0588a8573f531904291db99089e7ef23679c8a1..986ae82fec10b374800c41d2ab6053adc196d8e3 100644
--- a/pkg/analyzer/test/src/summary/summary_common.dart
+++ b/pkg/analyzer/test/src/summary/summary_common.dart
@@ -3209,6 +3209,8 @@ class D<T, U> extends C<U, T> {
numTypeParameters: 2)
],
allowTypeParameters: true);
+ checkParamTypeRef(executable.redirectedConstructor.typeArguments[0], 1);
+ checkParamTypeRef(executable.redirectedConstructor.typeArguments[1], 2);
}
test_constructor_redirected_factory_unnamed() {
@@ -3246,6 +3248,8 @@ class D<T, U> extends C<U, T> {
expect(executable.redirectedConstructorName, isEmpty);
checkTypeRef(executable.redirectedConstructor, null, null, 'D',
allowTypeParameters: true, numTypeParameters: 2);
+ checkParamTypeRef(executable.redirectedConstructor.typeArguments[0], 1);
+ checkParamTypeRef(executable.redirectedConstructor.typeArguments[1], 2);
}
test_constructor_redirected_thisInvocation_named() {

Powered by Google App Engine
This is Rietveld 408576698