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

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

Issue 2675603002: Reduce strong mode errors and warnings (Closed)
Patch Set: Created 3 years, 11 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/builder/builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/builder.dart b/pkg/front_end/lib/src/fasta/builder/builder.dart
index 3424c99a8b63af8a2f5e95721cffce96a8c3f74a..244f1259d27151fe4cefb4bf6c74a2aa2d70beda 100644
--- a/pkg/front_end/lib/src/fasta/builder/builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/builder.dart
@@ -89,16 +89,16 @@ abstract class Builder {
/// Resolve types (lookup names in scope) recorded in this builder and return
/// the number of types resolved.
- int resolveTypes(Builder parent) => 0;
+ int resolveTypes(covariant Builder parent) => 0;
/// Resolve constructors (lookup names in scope) recorded in this builder and
/// return the number of constructors resolved.
- int resolveConstructors(Builder parent) => 0;
+ int resolveConstructors(covariant Builder parent) => 0;
/// Look for methods with the same name as their enclosing class and convert
/// them to constructors. Return the number of methods converted to
/// constructors.
- int convertConstructors(Builder parent) => 0;
+ int convertConstructors(covariant Builder parent) => 0;
/// This builder and [other] has been imported into [library] using [name].
///

Powered by Google App Engine
This is Rietveld 408576698