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

Unified Diff: tests/language_strong/malbounded_redirecting_factory_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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: tests/language_strong/malbounded_redirecting_factory_test.dart
diff --git a/tests/language_strong/malbounded_redirecting_factory_test.dart b/tests/language_strong/malbounded_redirecting_factory_test.dart
index d0e3d022f6de0881e2da69f489e6a0b9488d29fc..22f693637afd766ab4bedbdf3422157dafa1ad7b 100644
--- a/tests/language_strong/malbounded_redirecting_factory_test.dart
+++ b/tests/language_strong/malbounded_redirecting_factory_test.dart
@@ -5,25 +5,25 @@
import 'package:expect/expect.dart';
class A<Ta
- extends num /// 02: continued
+ extends num //# 02: continued
> implements B<Ta>, C<Ta> { }
class B<Tb
- extends num /// 03: continued
+ extends num //# 03: continued
> {
factory B() = A<Tb>;
}
class C<Tc
- extends num /// 04: continued
+ extends num //# 04: continued
> {
factory C() = B<Tc>;
}
main() {
new C<int>();
- new C<String>(); /// 01: static type warning
- new C<String>(); /// 02: static type warning, dynamic type error
- new C<String>(); /// 03: static type warning, dynamic type error
- new C<String>(); /// 04: static type warning, dynamic type error
+ new C<String>(); //# 01: static type warning
+ new C<String>(); //# 02: static type warning, dynamic type error
+ new C<String>(); //# 03: static type warning, dynamic type error
+ new C<String>(); //# 04: static type warning, dynamic type error
}

Powered by Google App Engine
This is Rietveld 408576698