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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/elements/elements.dart

Issue 15381002: Fix a pretty bad bug of a class inheriting a patched class. The fix is (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 months 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 library elements; 5 library elements;
6 6
7 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import 'modelx.dart'; 9 import 'modelx.dart';
10 import '../tree/tree.dart'; 10 import '../tree/tree.dart';
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 Element validateConstructorLookupResults(Selector selector, 840 Element validateConstructorLookupResults(Selector selector,
841 Element result, 841 Element result,
842 Element noMatch(Element)); 842 Element noMatch(Element));
843 843
844 Element lookupConstructor(Selector selector, [Element noMatch(Element)]); 844 Element lookupConstructor(Selector selector, [Element noMatch(Element)]);
845 Element lookupFactoryConstructor(Selector selector, 845 Element lookupFactoryConstructor(Selector selector,
846 [Element noMatch(Element)]); 846 [Element noMatch(Element)]);
847 847
848 void forEachMember(void f(ClassElement enclosingClass, Element member), 848 void forEachMember(void f(ClassElement enclosingClass, Element member),
849 {includeBackendMembers: false, 849 {includeBackendMembers: false,
850 includeSuperMembers: false}); 850 includeSuperAndInjectedMembers: false});
851 851
852 void forEachInstanceField(void f(ClassElement enclosingClass, Element field), 852 void forEachInstanceField(void f(ClassElement enclosingClass, Element field),
853 {includeBackendMembers: false, 853 {includeSuperAndInjectedMembers: false});
854 includeSuperMembers: false});
855 854
856 void forEachBackendMember(void f(Element member)); 855 void forEachBackendMember(void f(Element member));
857 } 856 }
858 857
859 abstract class MixinApplicationElement extends ClassElement { 858 abstract class MixinApplicationElement extends ClassElement {
860 ClassElement get mixin; 859 ClassElement get mixin;
861 void set mixin(ClassElement value); 860 void set mixin(ClassElement value);
862 void addConstructor(FunctionElement constructor); 861 void addConstructor(FunctionElement constructor);
863 } 862 }
864 863
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 int get resolutionState; 906 int get resolutionState;
908 Token get beginToken; 907 Token get beginToken;
909 Token get endToken; 908 Token get endToken;
910 909
911 // TODO(kasperl): Try to get rid of these. 910 // TODO(kasperl): Try to get rid of these.
912 void set annotatedElement(Element value); 911 void set annotatedElement(Element value);
913 void set resolutionState(int value); 912 void set resolutionState(int value);
914 913
915 MetadataAnnotation ensureResolved(Compiler compiler); 914 MetadataAnnotation ensureResolved(Compiler compiler);
916 } 915 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698