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

Unified Diff: tests/language/src/Prefix23NegativeTest.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/Prefix23NegativeTest.dart
diff --git a/tests/language/src/Prefix14NegativeTest.dart b/tests/language/src/Prefix23NegativeTest.dart
similarity index 52%
copy from tests/language/src/Prefix14NegativeTest.dart
copy to tests/language/src/Prefix23NegativeTest.dart
index 53624c9854e2b8d0156571b7b526d1ac83c02007..7819e900cc91acf63aa33e3a10380c1b8a7afc29 100644
--- a/tests/language/src/Prefix14NegativeTest.dart
+++ b/tests/language/src/Prefix23NegativeTest.dart
@@ -2,14 +2,15 @@
// 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 error.
+// 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("Prefix14NegativeTest.dart");
+#library("Prefix22NegativeTest.dart");
#import("library12.dart", prefix:"lib12");
class myClass {
- myClass(lib12.Library13 this.fld);
- lib12.Library13 fld;
+ lib12.Library13 fld; // static type warning
}
main() {

Powered by Google App Engine
This is Rietveld 408576698