| Index: compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java b/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
|
| index e5a24feae48a00cddeffbb4e134eda1951434c73..159d45d00179571c3b00dda5fe1e289b09ac4b92 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartUnaryExpression.java
|
| @@ -6,7 +6,7 @@ package com.google.dart.compiler.ast;
|
|
|
| import com.google.dart.compiler.parser.Token;
|
| import com.google.dart.compiler.resolver.Element;
|
| -import com.google.dart.compiler.resolver.MethodElement;
|
| +import com.google.dart.compiler.resolver.MethodNodeElement;
|
|
|
| /**
|
| * Represents a Dart unary expression.
|
| @@ -16,7 +16,7 @@ public class DartUnaryExpression extends DartExpression {
|
| private final Token operator;
|
| private DartExpression arg;
|
| private final boolean isPrefix;
|
| - private MethodElement element;
|
| + private MethodNodeElement element;
|
|
|
| public DartUnaryExpression(Token operator, DartExpression arg, boolean isPrefix) {
|
| assert operator.isUnaryOperator() || operator == Token.SUB;
|
| @@ -49,12 +49,12 @@ public class DartUnaryExpression extends DartExpression {
|
| }
|
|
|
| @Override
|
| - public MethodElement getElement() {
|
| + public MethodNodeElement getElement() {
|
| return element;
|
| }
|
|
|
| @Override
|
| public void setElement(Element element) {
|
| - this.element = (MethodElement) element;
|
| + this.element = (MethodNodeElement) element;
|
| }
|
| }
|
|
|