OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 part of myApp; | |
5 | 4 |
6 var x = 0, y = 1; | 5 var x = 0, y = 1; |
7 void fn() { /* ... */ } | 6 void fn() { /* ... */ } |
8 | 7 |
9 class Spoo<T> { | 8 class Spoo<T> { |
10 Spoo() { } | 9 Spoo() { } |
11 Spoo.other() { } | 10 Spoo.other() { } |
12 } | 11 } |
13 | 12 |
14 main() { | 13 main() { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 53 |
55 int bar() { | 54 int bar() { |
56 // qualified reference | 55 // qualified reference |
57 return super.not_hole.contents; | 56 return super.not_hole.contents; |
58 } | 57 } |
59 } | 58 } |
60 | 59 |
61 // Reference Other4 using it as a type parameter bound. | 60 // Reference Other4 using it as a type parameter bound. |
62 class Bar<T extends Other4> { | 61 class Bar<T extends Other4> { |
63 } | 62 } |
OLD | NEW |