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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart

Issue 2746763003: Add default type arguments on Supertype as well. (Closed)
Patch Set: Rebased on 1cb1b70d5daf9ec7f24a98be9d2fdac919ae0c24. Created 3 years, 9 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart
index f828c7e8f0acd79cfe80499c99ea8db587635c46..d7486c99a62baddc322c194bf65f3be9abcc176f 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_builder.dart
@@ -58,8 +58,12 @@ import 'package:kernel/ast.dart'
import '../errors.dart' show inputError;
-List<DartType> computeDefaultTypeArguments(
+import '../builder/builder.dart' show LibraryBuilder;
+
+List<DartType> computeDefaultTypeArguments(LibraryBuilder library,
List<TypeParameter> typeParameters, List<DartType> arguments) {
+ // TODO(ahe): Not sure what to do if `arguments.length !=
+ // cls.typeParameters.length`.
if (arguments == null) {
return new List<DartType>.filled(
typeParameters.length, const DynamicType());
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/kernel_class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698