| 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 | 4 |
| 5 class Type implements Named, Hashable { | 5 class Type implements Named, Hashable { |
| 6 final String name; | 6 final String name; |
| 7 bool isTested; | 7 bool isTested; |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * For core types (int, String, etc) this is the generated type assertion | 10 * For core types (int, String, etc) this is the generated type assertion |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 if (method.isConstructor) { | 810 if (method.isConstructor) { |
| 811 if (constructors.containsKey(method.constructorName)) { | 811 if (constructors.containsKey(method.constructorName)) { |
| 812 world.error('duplicate constructor definition of ${method.name}', | 812 world.error('duplicate constructor definition of ${method.name}', |
| 813 definition.span); | 813 definition.span); |
| 814 return; | 814 return; |
| 815 } | 815 } |
| 816 constructors[method.constructorName] = method; | 816 constructors[method.constructorName] = method; |
| 817 return; | 817 return; |
| 818 } | 818 } |
| 819 | 819 |
error: old chunk mismatch |
None
| OLD | NEW |