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

Unified Diff: tests/language/src/Prefix22NegativeTest.dart

Issue 9019011: Remove wrong test, issue 575. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Positive and negative tests Created 8 years, 12 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/src/Prefix22NegativeTest.dart
diff --git a/tests/language/src/Prefix22NegativeTest.dart b/tests/language/src/Prefix22NegativeTest.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c056d5da2a778e5c9f606056588b85cff62c70c3
--- /dev/null
+++ b/tests/language/src/Prefix22NegativeTest.dart
@@ -0,0 +1,19 @@
+// 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.
+//
+// Unresolved symbols should be reported as an static type warnings.
+// In this variant of test we turn warnings into errors.
+// VMOptions=--fatal-type-errors --enable_type_errors
regis 2012/02/23 19:39:33 The VM neither supports --fatal-type-errors nor --
+
+#library("Prefix21NegativeTest.dart");
+#import("library12.dart", prefix:"lib12");
+
+class myClass {
+ myClass(lib12.Library13 p) { // static type warning
+ }
+}
+
+main() {
+ new myClass(null);
+}

Powered by Google App Engine
This is Rietveld 408576698