| Index: pkg/compiler/lib/src/elements/elements.dart
|
| diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
|
| index 178ba0317e436098cc2a041ec974dcdf63cfe8f9..66eec37b0622ea31246e1db97a60f26a3c1b5b98 100644
|
| --- a/pkg/compiler/lib/src/elements/elements.dart
|
| +++ b/pkg/compiler/lib/src/elements/elements.dart
|
| @@ -1417,6 +1417,14 @@ abstract class ConstructorBodyElement extends MethodElement {
|
| /// [GenericElement] defines the common interface for generic functions and
|
| /// [TypeDeclarationElement].
|
| abstract class GenericElement extends Element implements AstElement {
|
| + /// Do not use [computeType] outside of the resolver.
|
| + ///
|
| + /// Trying to access a type that has not been computed in resolution is an
|
| + /// error and calling [computeType] covers that error.
|
| + /// This method will go away!
|
| + @deprecated
|
| + DartType computeType(Resolution resolution);
|
| +
|
| /**
|
| * The type variables declared on this declaration. The type variables are not
|
| * available until the type of the element has been computed through
|
|
|