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

Unified Diff: tests/language/src/Prefix22Test.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/Prefix22Test.dart
diff --git a/tests/language/src/Prefix14NegativeTest.dart b/tests/language/src/Prefix22Test.dart
similarity index 56%
copy from tests/language/src/Prefix14NegativeTest.dart
copy to tests/language/src/Prefix22Test.dart
index 53624c9854e2b8d0156571b7b526d1ac83c02007..bb16c5aee520f4ded709b9ac08cd1c20758ebdfa 100644
--- a/tests/language/src/Prefix14NegativeTest.dart
+++ b/tests/language/src/Prefix22Test.dart
@@ -2,15 +2,17 @@
// 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.
+// This should not prevent execution.
-#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() {
+ new myClass(null);
}

Powered by Google App Engine
This is Rietveld 408576698