Index: pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart |
index 7dd7fb383ba3cc1c06f11ef3c04cf155eefb4a3c..44250a1be5e836369d36b5b41ab244470188aaef 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_named_type_builder.dart |
@@ -47,7 +47,7 @@ class KernelNamedTypeBuilder |
String message = builder.isTypeVariable |
? "The type variable '$name' can't be used as supertype." |
: "The type '$name' can't be used as supertype."; |
- library.addCompileTimeError(charOffset, message, fileUri); |
+ library.addCompileTimeError(charOffset, message, fileUri: fileUri); |
return null; |
} |