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

Unified Diff: tests/language/instantiate_type_variable_negative_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_negative_test.dart
diff --git a/tests/language/instantiate_type_variable_negative_test.dart b/tests/language/instantiate_type_variable_negative_test.dart
deleted file mode 100644
index 1ced05856186dcd82b276fde260eec02dc85e378..0000000000000000000000000000000000000000
--- a/tests/language/instantiate_type_variable_negative_test.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-// Test that you cannot instantiate a type variable.
-
-class Foo<T> {
- Foo() {}
- T make() { return new T(); }
-}
-
-main() {
- new Foo<Object>().make();
-}
« no previous file with comments | « tests/language/constructor_return_with_init_negative_test.dart ('k') | tests/language/instantiate_type_variable_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698