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

Side by Side Diff: tests/language/mixin_illegal_syntax_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 S { } 5 class S { }
6 class G<T> { } 6 class G<T> { }
7 class M { } 7 class M { }
8 8
9 typedef T0 = abstract S with M; 9 typedef T0 = abstract S with M;
10 abstract class T0A = S with M; 10 abstract class T0A = S with M;
11 typedef T1 = final S with M; /// 01: compile-time error 11 class T1 = final S with M; /// 01: compile-time error
12 typedef T2 = var S with M; /// 02: compile-time error 12 class T2 = var S with M; /// 02: compile-time error
13 typedef T3 = const S with M; /// 03: compile-time error 13 class T3 = const S with M; /// 03: compile-time error
14 typedef T4 = static S with M; /// 04: compile-time error 14 class T4 = static S with M; /// 04: compile-time error
15 typedef T5 = external S with M; /// 05: compile-time error 15 class T5 = external S with M; /// 05: compile-time error
16 typedef T6 = G<int> with M; 16 class T6 = G<int> with M;
17 typedef T7 = G<Map<String,int>> with M; 17 class T7 = G<Map<String,int>> with M;
18 18
19 class C0 extends abstract S with M { } /// 06: compile-time error 19 class C0 extends abstract S with M { } /// 06: compile-time error
20 class C1 extends final S with M { } /// 07: compile-time error 20 class C1 extends final S with M { } /// 07: compile-time error
21 class C2 extends var S with M { } /// 08: compile-time error 21 class C2 extends var S with M { } /// 08: compile-time error
22 class C3 extends const S with M { } /// 09: compile-time error 22 class C3 extends const S with M { } /// 09: compile-time error
23 class C4 extends static S with M { } /// 10: compile-time error 23 class C4 extends static S with M { } /// 10: compile-time error
24 class C5 extends external S with M { } /// 11: compile-time error 24 class C5 extends external S with M { } /// 11: compile-time error
25 class C6 extends G<int> with M { } 25 class C6 extends G<int> with M { }
26 class C7 extends G<Map<String,int>> with M { } 26 class C7 extends G<Map<String,int>> with M { }
27 27
(...skipping 19 matching lines...) Expand all
47 new C2(); /// 08: continued 47 new C2(); /// 08: continued
48 new C3(); /// 09: continued 48 new C3(); /// 09: continued
49 new C4(); /// 10: continued 49 new C4(); /// 10: continued
50 new C5(); /// 11: continued 50 new C5(); /// 11: continued
51 new C6(); 51 new C6();
52 new C7(); 52 new C7();
53 53
54 new D0(); /// 12: continued 54 new D0(); /// 12: continued
55 new D1(); 55 new D1();
56 } 56 }
OLDNEW
« no previous file with comments | « tests/language/mixin_illegal_superclass_test.dart ('k') | tests/language/mixin_implements2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698