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

Side by Side Diff: pkg/analyzer/lib/src/generated/element_handle.dart

Issue 724133003: Improve error reporting when a mixin application is invalid. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.element_handle; 8 library engine.element_handle;
9 9
10 import 'ast.dart'; 10 import 'ast.dart';
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 bool isSuperConstructorAccessible(ConstructorElement constructor) => 108 bool isSuperConstructorAccessible(ConstructorElement constructor) =>
109 actualElement.isSuperConstructorAccessible(constructor); 109 actualElement.isSuperConstructorAccessible(constructor);
110 110
111 @override 111 @override
112 bool get isTypedef => actualElement.isTypedef; 112 bool get isTypedef => actualElement.isTypedef;
113 113
114 @override 114 @override
115 bool get isValidMixin => actualElement.isValidMixin; 115 bool get isValidMixin => actualElement.isValidMixin;
116 116
117 @override 117 @override
118 bool get mixinErrorsReported => actualElement.mixinErrorsReported;
119
120 @override
118 MethodElement lookUpConcreteMethod(String methodName, LibraryElement library) => actualElement.lookUpConcreteMethod(methodName, library); 121 MethodElement lookUpConcreteMethod(String methodName, LibraryElement library) => actualElement.lookUpConcreteMethod(methodName, library);
119 122
120 @override 123 @override
121 PropertyAccessorElement lookUpGetter(String getterName, LibraryElement library ) => actualElement.lookUpGetter(getterName, library); 124 PropertyAccessorElement lookUpGetter(String getterName, LibraryElement library ) => actualElement.lookUpGetter(getterName, library);
122 125
123 @override 126 @override
124 PropertyAccessorElement lookUpInheritedConcreteGetter(String methodName, Libra ryElement library) => actualElement.lookUpInheritedConcreteGetter(methodName, li brary); 127 PropertyAccessorElement lookUpInheritedConcreteGetter(String methodName, Libra ryElement library) => actualElement.lookUpInheritedConcreteGetter(methodName, li brary);
125 128
126 @override 129 @override
127 MethodElement lookUpInheritedConcreteMethod(String methodName, LibraryElement library) => actualElement.lookUpInheritedConcreteMethod(methodName, library); 130 MethodElement lookUpInheritedConcreteMethod(String methodName, LibraryElement library) => actualElement.lookUpInheritedConcreteMethod(methodName, library);
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 VariableElement get actualElement => super.actualElement as VariableElement; 1008 VariableElement get actualElement => super.actualElement as VariableElement;
1006 } 1009 }
1007 /** 1010 /**
1008 * TODO(scheglov) invalid implementation 1011 * TODO(scheglov) invalid implementation
1009 */ 1012 */
1010 class WeakReference<T> { 1013 class WeakReference<T> {
1011 final T value; 1014 final T value;
1012 WeakReference(this.value); 1015 WeakReference(this.value);
1013 T get() => value; 1016 T get() => value;
1014 } 1017 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698