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

Side by Side Diff: tests/language/mixin_illegal_object_test.dart

Issue 27300003: Change "typedef" to "class" in core library and related tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update some dart2js tests and unparser. Created 7 years, 2 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 class C0 extends Object 5 class C0 extends Object
6 with Object /// 01: compile-time error 6 with Object /// 01: compile-time error
7 { } 7 { }
8 8
9 typedef C1 = Object with Object; /// 02: compile-time error 9 class C1 = Object with Object; /// 02: compile-time error
10 10
11 main() { 11 main() {
12 new C0(); 12 new C0();
13 new C1(); /// 02: continued 13 new C1(); /// 02: continued
14 } 14 }
OLDNEW
« no previous file with comments | « tests/language/mixin_illegal_cycles_test.dart ('k') | tests/language/mixin_illegal_static_access_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698