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

Unified Diff: pkg/front_end/lib/src/fasta/loader.dart

Issue 2675603002: Reduce strong mode errors and warnings (Closed)
Patch Set: comments & cleanup Created 3 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/front_end/lib/src/fasta/loader.dart
diff --git a/pkg/front_end/lib/src/fasta/loader.dart b/pkg/front_end/lib/src/fasta/loader.dart
index 95ee99bde79986488c4bae88d5b09ffab8e357ef..f602cfab511b2216da004c8e5bfa052c92aa8012 100644
--- a/pkg/front_end/lib/src/fasta/loader.dart
+++ b/pkg/front_end/lib/src/fasta/loader.dart
@@ -130,9 +130,9 @@ ${format(ms / libraryCount, 3, 12)} ms/compilation unit.""");
});
}
- Future<Null> buildOutline(LibraryBuilder library);
+ Future<Null> buildOutline(covariant LibraryBuilder library);
- Future<Null> buildBody(LibraryBuilder library, AstKind astKind);
+ Future<Null> buildBody(covariant LibraryBuilder library, AstKind astKind);
List<InputError> collectCompileTimeErrors() {
List<InputError> errors = <InputError>[];

Powered by Google App Engine
This is Rietveld 408576698