| Index: sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/elements/elements.dart b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| index efa30eb5135224ba429f127ba84fe3c92ecdd183..2bd5812663ef3023a38e94c602f19a8ae01eece0 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/elements/elements.dart
|
| @@ -749,6 +749,16 @@ abstract class FunctionElement extends Element {
|
|
|
| bool get isRedirectingFactory;
|
|
|
| + /**
|
| + * Compute the type of the target of a redirecting constructor or factory
|
| + * for an instantiation site with type [:newType:].
|
| + *
|
| + * TODO(karlklose): get rid of this method and resolve the target type
|
| + * during resolution when we correctly resolve chains of redirections.
|
| + */
|
| + InterfaceType computeTargetType(Compiler compiler,
|
| + InterfaceType newType);
|
| +
|
| // TODO(kasperl): These are bit fishy. Do we really need them?
|
| void set patch(FunctionElement value);
|
| void set origin(FunctionElement value);
|
|
|