| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 3 // BSD-style license that can be found in the LICENSE file. |  | 
| 4 |  | 
| 5 import 'package:expect/expect.dart'; |  | 
| 6 |  | 
| 7 Iterable<int> foo() sync* { |  | 
| 8   yield 1; |  | 
| 9   yield* [2, 3]; |  | 
| 10 } |  | 
| 11 |  | 
| 12 class Class { |  | 
| 13   Iterable<int> bar() sync* { |  | 
| 14     yield 1; |  | 
| 15     yield* [2, 3]; |  | 
| 16   } |  | 
| 17 |  | 
| 18   static Iterable<int> baz() sync* { |  | 
| 19     yield 1; |  | 
| 20     yield* [2, 3]; |  | 
| 21   } |  | 
| 22 } |  | 
| 23 |  | 
| 24 main() { |  | 
| 25   Iterable<int> qux() sync* { |  | 
| 26     yield 1; |  | 
| 27     yield* [2, 3]; |  | 
| 28   } |  | 
| 29 |  | 
| 30   Expect.listEquals([1, 2, 3], foo().toList()); |  | 
| 31   Expect.listEquals([1, 2, 3], new Class().bar().toList()); |  | 
| 32   Expect.listEquals([1, 2, 3], Class.baz().toList()); |  | 
| 33   Expect.listEquals([1, 2, 3], qux().toList()); |  | 
| 34 } |  | 
| OLD | NEW | 
|---|