Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: frog/type.dart

Issue 8536056: better errors and error locations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « frog/member.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
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
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

OLDNEW
« no previous file with comments | « frog/member.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698