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

Unified Diff: lib/transformations/mixin_full_resolution.dart

Issue 2464843002: Fix some strong mode issues. (Closed)
Patch Set: Revert .analysis_options as there are still strong-mode issues Created 4 years, 1 month 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
« no previous file with comments | « lib/text/ast_to_text.dart ('k') | lib/type_algebra.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/transformations/mixin_full_resolution.dart
diff --git a/lib/transformations/mixin_full_resolution.dart b/lib/transformations/mixin_full_resolution.dart
index dfcc3c8174690aac765a9fd16a5c524a4bc50e48..b08606218efe8c7b350a0624c7c78fec346fe5f0 100644
--- a/lib/transformations/mixin_full_resolution.dart
+++ b/lib/transformations/mixin_full_resolution.dart
@@ -331,7 +331,7 @@ class SuperCallResolutionTransformer extends Transformer {
}
}
-class SuperInitializerResolutionTransformer extends Transformer {
+class SuperInitializerResolutionTransformer extends InitializerVisitor {
final Class lookupClass;
SuperInitializerResolutionTransformer(this.lookupClass);
@@ -352,7 +352,7 @@ class SuperInitializerResolutionTransformer extends Transformer {
for (var replacement in lookupClass.constructors) {
if (constructor.name == replacement.name) {
node.target = replacement;
- return;
+ return null;
}
}
« no previous file with comments | « lib/text/ast_to_text.dart ('k') | lib/type_algebra.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698