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

Side by Side Diff: tests/language/src/Prefix22NegativeTest.dart

Issue 9559007: Update test.dart for detection output of machine formatted errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added diagnostic for @static-clean conflicts 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // 4 //
5 // Unresolved symbols should be reported as an static type warnings. 5 // Unresolved symbols should be reported as an static type warnings.
6 // In this variant of test we turn warnings into errors. 6 // In this variant of test we turn warnings into errors.
7 // VMOptions=--fatal-type-errors --enable_type_checks 7 // VMOptions= --enable_type_errors
zundel 2012/03/02 23:51:00 reverted
8 8
9 #library("Prefix21NegativeTest.dart"); 9 #library("Prefix21NegativeTest.dart");
10 #import("library12.dart", prefix:"lib12"); 10 #import("library12.dart", prefix:"lib12");
11 11
12 class myClass { 12 class myClass {
13 myClass(lib12.Library13 p) { // static type warning 13 myClass(lib12.Library13 p) { /// static type error
14 } 14 }
15 } 15 }
16 16
17 main() { 17 main() {
18 new myClass(null); 18 new myClass(null);
19 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698