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

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

Issue 2739213004: Improve detection of compile-time errors. (Closed)
Patch Set: dartfmt 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
Index: pkg/front_end/lib/src/fasta/kernel/kernel_function_type_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_builder.dart
index 7f7d4fc7227175be7881273f3fe19efabfa314e8..9e05eb412429e84d6dd30f98ae957c3a307b4d8b 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_function_type_builder.dart
@@ -20,7 +20,8 @@ class KernelFunctionTypeBuilder extends FunctionTypeBuilder
Supertype buildSupertype(LibraryBuilder library) {
library.addCompileTimeError(
- charOffset, "Can't use a function type as supertype.", fileUri);
+ charOffset, "Can't use a function type as supertype.",
+ fileUri: fileUri);
return null;
}
}

Powered by Google App Engine
This is Rietveld 408576698