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

Side by Side Diff: frog/type.dart

Issue 8540030: Fix dispatch on MemberSets to always go dynamic if needed. (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
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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 } 830 }
831 parent = resolveType(extendsTypeRef, true); 831 parent = resolveType(extendsTypeRef, true);
832 if (!parent.isClass) { 832 if (!parent.isClass) {
833 world.error('class may not extend an interface - use implements', 833 world.error('class may not extend an interface - use implements',
834 typeDef.extendsTypes[0].span); 834 typeDef.extendsTypes[0].span);
835 } 835 }
836 parent.addDirectSubtype(this); 836 parent.addDirectSubtype(this);
837 if (_cycleInClassExtends()) { 837 if (_cycleInClassExtends()) {
838 world.error('class "$name" has a cycle in its inheritance chain', 838 world.error('class "$name" has a cycle in its inheritance chain',
839 extendsTypeRef.span); 839 extendsTypeRef.span);

error: old chunk mismatch

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

Powered by Google App Engine
This is Rietveld 408576698