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 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1136 if (ret != null) return ret; | 1136 if (ret != null) return ret; |
1137 | 1137 |
1138 Member member = getMember(memberName); | 1138 Member member = getMember(memberName); |
1139 if (member == null) { | 1139 if (member == null) { |
1140 // TODO(jimhug): Check for members on subtypes given dart's dynamism. | 1140 // TODO(jimhug): Check for members on subtypes given dart's dynamism. |
1141 return null; | 1141 return null; |
1142 } | 1142 } |
1143 | 1143 |
1144 // TODO(jimhug): Move this adding subtypes logic to MemberSet? | 1144 // TODO(jimhug): Move this adding subtypes logic to MemberSet? |
1145 ret = new MemberSet(member); | 1145 ret = new MemberSet(member); |
error: old chunk mismatch |
None
OLD | NEW |