| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 part of test.method_location; | 5 foo(int arg) {} |
| 6 | 6 |
| 7 class ClassInOtherFile { | 7 class C { |
| 8 | 8 C(int arg) {} |
| 9 ClassInOtherFile(); | 9 static foo(int arg) {} |
| 10 | |
| 11 method() {} | |
| 12 } | 10 } |
| 13 | 11 |
| 14 topLevelInOtherFile() {} | 12 var a; |
| 15 | 13 |
| 16 spaceIdentedInOtherFile() {} | 14 int get getter => 42; |
| 17 | 15 |
| 18 » tabIdentedInOtherFile() {} | 16 void set setter(int arg) { |
| 17 a = 10; |
| 18 } |
| 19 |
| 20 var list = new List(); |
| 21 |
| 22 var closure = (int arg) => 3; |
| OLD | NEW |