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

Unified Diff: tests/language_strong/malformed_bound_test.dart

Issue 2770063002: Revert "Format all multitests" (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/malformed_bound_test.dart
diff --git a/tests/language_strong/malformed_bound_test.dart b/tests/language_strong/malformed_bound_test.dart
index 623077c909b87628c409ed92d7dcc9bf35406add..c1845ffb0d7e39fd89ad04665a9ce7a5a9ca235e 100644
--- a/tests/language_strong/malformed_bound_test.dart
+++ b/tests/language_strong/malformed_bound_test.dart
@@ -4,15 +4,14 @@
// Test that a malformed type variable bound is treated as dynamic.
-class C<
- T
+class C<T
extends Malformed //# 01: static type warning, runtime error
- > {
+> {
f(T t) => t.foo; //# 01: continued
}
main() {
new C<int>()
.f(1) //# 01: continued
- ;
+ ;
}
« no previous file with comments | « tests/language_strong/malbounded_type_test2_test.dart ('k') | tests/language_strong/malformed_inheritance_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698