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

Unified Diff: tests/language/create_unresolved_type_test.dart

Issue 23194002: Add missing registration of throwRuntimeError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/create_unresolved_type_test.dart
diff --git a/tests/language/extends_test_lib.dart b/tests/language/create_unresolved_type_test.dart
similarity index 76%
copy from tests/language/extends_test_lib.dart
copy to tests/language/create_unresolved_type_test.dart
index d62ca8f7da480b38ac34aed6411d25acba5ae339..ceaf6dc421edb871d8741f36f23b83b50c23a897 100644
--- a/tests/language/extends_test_lib.dart
+++ b/tests/language/create_unresolved_type_test.dart
@@ -2,8 +2,6 @@
// 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.
-library ExtendsTestLib;
-
-class A {
- var y = "class A from library";
+main() {
+ new F<int>(); /// 01: runtime error, static type warning
}
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/resolution/members.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698