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

Unified Diff: tests/lib_2/mirrors/declarations_model_easier.dart

Issue 3006863002: Made helpers strong-mode clean for Dart 2.0 migration. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « tests/lib_2/mirrors/declarations_model.dart ('k') | tests/lib_strong/mirrors/declarations_model.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib_2/mirrors/declarations_model_easier.dart
diff --git a/tests/lib_2/mirrors/declarations_model_easier.dart b/tests/lib_2/mirrors/declarations_model_easier.dart
index a14ef893ed4d62100309df11838805c35b318209..665b691ec334fbc9d5797a8418f6c1fbfc46d05a 100644
--- a/tests/lib_2/mirrors/declarations_model_easier.dart
+++ b/tests/lib_2/mirrors/declarations_model_easier.dart
@@ -44,7 +44,7 @@ class Superclass<S> {
factory Superclass.inheritedNormalFactory(y) =>
new Superclass.inheritedRedirectingConstructor(y * 3);
factory Superclass.inheritedRedirectingFactory(z) =
- Superclass.inheritedNormalFactory;
+ Superclass<S>.inheritedNormalFactory;
}
abstract class Class<C> extends Superclass<C> implements Interface<C> {
@@ -66,7 +66,7 @@ abstract class Class<C> extends Superclass<C> implements Interface<C> {
: super.inheritedGenerativeConstructor(0);
Class.redirectingConstructor(x) : this.generativeConstructor(x * 2);
factory Class.normalFactory(y) => new ConcreteClass(y * 3);
- factory Class.redirectingFactory(z) = Class.normalFactory;
+ factory Class.redirectingFactory(z) = Class<C>.normalFactory;
}
// This is just here as a target of Class's factories to appease the analyzer.
« no previous file with comments | « tests/lib_2/mirrors/declarations_model.dart ('k') | tests/lib_strong/mirrors/declarations_model.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698