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

Unified Diff: tests/language/redirecting_factory_malbounded_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/redirecting_factory_malbounded_test.dart
diff --git a/tests/language/redirecting_factory_malbounded_test.dart b/tests/language/redirecting_factory_malbounded_test.dart
index 9f780c2c84e0219f5c3f7dcd8938adf29c5c110b..90ca684f5812b133fda86fbc9bc3740375b58fd1 100644
--- a/tests/language/redirecting_factory_malbounded_test.dart
+++ b/tests/language/redirecting_factory_malbounded_test.dart
@@ -3,20 +3,20 @@
// BSD-style license that can be found in the LICENSE file.
class Foo<T> extends Bar<T> {
+
factory Foo() = Bar;
- Foo.create() : super.create() {}
+ Foo.create() : super.create() { }
}
-class Bar<
- T
+class Bar<T
extends num // //# 01: static type warning, dynamic type error
- > {
+ > {
factory Bar() {
return new Foo<T>.create();
}
- Bar.create() {}
+ Bar.create() { }
}
main() {
« no previous file with comments | « tests/language/redirecting_factory_default_values_test.dart ('k') | tests/language/ref_before_declaration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698