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

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

Issue 9615035: Generate dynamic type errors according to spec. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « tests/language/src/Prefix22NegativeTest.dart ('k') | tests/language/src/Prefix23NegativeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/Prefix22Test.dart
===================================================================
--- tests/language/src/Prefix22Test.dart (revision 5063)
+++ tests/language/src/Prefix22Test.dart (working copy)
@@ -2,17 +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 static type warnings.
+// Unresolved symbols should be reported as static type warnings.
// This should not prevent execution.
#library("Prefix21NegativeTest.dart");
#import("library12.dart", prefix:"lib12");
class myClass {
- myClass(lib12.Library13 p) { // static type warning
+ myClass(lib12.Library13 p) { /// static type warning
}
}
main() {
- new myClass(null); // dynamic type error (fix import before making multitest)
+ new myClass(null); // no dynamic type error when assigning null
}
« no previous file with comments | « tests/language/src/Prefix22NegativeTest.dart ('k') | tests/language/src/Prefix23NegativeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698