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

Unified Diff: tests/language/instantiate_type_variable_test.dart

Issue 23691029: Update language.status and rewrite some tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed review commetns Created 7 years, 3 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/instantiate_type_variable_test.dart
diff --git a/tests/language/instantiate_type_variable_negative_test.dart b/tests/language/instantiate_type_variable_test.dart
similarity index 83%
rename from tests/language/instantiate_type_variable_negative_test.dart
rename to tests/language/instantiate_type_variable_test.dart
index 1ced05856186dcd82b276fde260eec02dc85e378..a798984fedf117fbf7b26fa993bdadf61d64bb7a 100644
--- a/tests/language/instantiate_type_variable_negative_test.dart
+++ b/tests/language/instantiate_type_variable_test.dart
@@ -6,7 +6,9 @@
class Foo<T> {
Foo() {}
- T make() { return new T(); }
+ T make() {
+ return new T(); /// 01: compile-time error
+ }
}
main() {
« no previous file with comments | « tests/language/instantiate_type_variable_negative_test.dart ('k') | tests/language/language_analyzer.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698