| Index: compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
|
| diff --git a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
|
| index 2e71e49cb393a3d0b2389f5d324c4786acd902ac..e803eb64d50c2e6ad85c2d018b479c8a0f0aaa25 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
|
| @@ -92,6 +92,11 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
|
| public boolean isConstructor() {
|
| return false;
|
| }
|
| +
|
| + @Override
|
| + public boolean isSynthetic() {
|
| + return true;
|
| + }
|
|
|
| @Override
|
| public ConstructorElement getDefaultConstructor() {
|
| @@ -109,6 +114,11 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
|
| }
|
|
|
| @Override
|
| + public boolean hasBody() {
|
| + return false;
|
| + }
|
| +
|
| + @Override
|
| public boolean isInterface() {
|
| return false;
|
| }
|
| @@ -137,6 +147,11 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
|
| public boolean isObject() {
|
| return false;
|
| }
|
| +
|
| + @Override
|
| + public String getDeclarationNameWithTypeParameters() {
|
| + return "Dynamic";
|
| + }
|
|
|
| @Override
|
| public boolean isObjectChild() {
|
| @@ -159,10 +174,6 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
|
| }
|
|
|
| @Override
|
| - public void setBound(Type bound) {
|
| - }
|
| -
|
| - @Override
|
| public Type getBound() {
|
| return getType();
|
| }
|
| @@ -250,6 +261,11 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
|
| public ClassElement getConstructorType() {
|
| return this;
|
| }
|
| +
|
| + @Override
|
| + public String getRawName() {
|
| + return getName();
|
| + }
|
|
|
| @Override
|
| public void setType(Type type) {
|
|
|