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

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

Issue 2675603002: Reduce strong mode errors and warnings (Closed)
Patch Set: don't override isAbstract, it's already defined in ModifierBuilder 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/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 01a120239cc90b3b13db272569221b77850eee36..0c927fd2c7a76301b54eb8b4c6f928a471b358ad 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