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

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

Issue 9019011: Remove wrong test, issue 575. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Split test on two tests Created 9 years 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 | « tests/language/src/Prefix14NegativeTest.dart ('k') | tests/language/src/Prefix22NegativeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/Prefix21NegativeTest.dart
diff --git a/tests/language/src/Prefix14NegativeTest.dart b/tests/language/src/Prefix21NegativeTest.dart
similarity index 59%
copy from tests/language/src/Prefix14NegativeTest.dart
copy to tests/language/src/Prefix21NegativeTest.dart
index 53624c9854e2b8d0156571b7b526d1ac83c02007..7b74a491e7dd6ecc8653d7c61602c81ee692c8ef 100644
--- a/tests/language/src/Prefix14NegativeTest.dart
+++ b/tests/language/src/Prefix21NegativeTest.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.
+// VMOptions=--fatal-type-errors
ericzundel 2011/12/22 21:53:10 --fatal-type-errors is dartc specific. I think w
-#library("Prefix14NegativeTest.dart");
+#library("Prefix21NegativeTest.dart");
#import("library12.dart", prefix:"lib12");
class myClass {
- myClass(lib12.Library13 this.fld);
- lib12.Library13 fld;
+ myClass(lib12.Library13 p) { // static type warning
+ }
}
main() {
« no previous file with comments | « tests/language/src/Prefix14NegativeTest.dart ('k') | tests/language/src/Prefix22NegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698