OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 import 'dart:collection'; | 5 import 'dart:collection'; |
6 | 6 |
| 7 class C extends LinkedListEntry<C> {} |
| 8 |
7 main() { | 9 main() { |
8 var a = new List.unmodifiable(new LinkedList()); | 10 var ll = new LinkedList<C>(); |
| 11 var a = new List.unmodifiable(ll); |
9 } | 12 } |
OLD | NEW |