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 extends Element { | 5 class Type extends Element { |
6 bool isTested = false; | 6 bool isTested = false; |
7 bool isChecked = false; | 7 bool isChecked = false; |
8 bool isWritten = false; | 8 bool isWritten = false; |
9 | 9 |
10 /** | 10 /** |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 members[methodName] = method; | 905 members[methodName] = method; |
906 } | 906 } |
907 | 907 |
908 addField(VariableDefinition definition) { | 908 addField(VariableDefinition definition) { |
909 for (int i=0; i < definition.names.length; i++) { | 909 for (int i=0; i < definition.names.length; i++) { |
910 var name = definition.names[i].name; | 910 var name = definition.names[i].name; |
911 if (members.containsKey(name)) { | 911 if (members.containsKey(name)) { |
912 world.error('duplicate field definition of "$name"', | 912 world.error('duplicate field definition of "$name"', |
913 definition.span); | 913 definition.span); |
914 return; | 914 return; |
error: old chunk mismatch |
None
OLD | NEW |