Index: pkg/analyzer/test/src/task/strong/checker_test.dart |
diff --git a/pkg/analyzer/test/src/task/strong/checker_test.dart b/pkg/analyzer/test/src/task/strong/checker_test.dart |
index dc4b9c44121d99c11f5f753a1e3f1056286d6d5a..99e4b70ce385bd26eea53852f5e965fb3cc071a0 100644 |
--- a/pkg/analyzer/test/src/task/strong/checker_test.dart |
+++ b/pkg/analyzer/test/src/task/strong/checker_test.dart |
@@ -1105,6 +1105,15 @@ void main() { |
''' |
}); |
+ // This is a regression test for https://github.com/dart-lang/sdk/issues/25071 |
+ testChecker('unbound redirecting constructor', { |
+ '/main.dart': ''' |
+ class Foo { |
+ Foo() : this.init(); |
+ } |
+ ''' |
+ }); |
+ |
testChecker('redirecting constructor', { |
'/main.dart': ''' |
class A { |