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

Unified Diff: tests/language_strong/new_expression_type_args_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments 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/new_expression_type_args_test.dart
diff --git a/tests/language_strong/new_expression_type_args_test.dart b/tests/language_strong/new_expression_type_args_test.dart
index 3f298f420ce07c89968bdc12704a1580d250fafc..60c8032555268954693178b03bb70d5dba52bf6d 100644
--- a/tests/language_strong/new_expression_type_args_test.dart
+++ b/tests/language_strong/new_expression_type_args_test.dart
@@ -5,8 +5,8 @@
// Tests showing errors using type-arguments in new expressions:
class A<T> {
// Can't instantiate type parameter (within static or instance method).
- m1() => new T(); /// 00: static type warning, runtime error
- static m2() => new T(); /// 01: static type warning, runtime error
+ m1() => new T(); // /// 00: static type warning, runtime error
+ static m2() => new T(); // /// 01: static type warning, runtime error
// OK when used within instance method, but not in static method.
m3() => new A<T>();

Powered by Google App Engine
This is Rietveld 408576698