| Index: compiler/java/com/google/dart/compiler/ast/DartDirective.java
|
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartDirective.java b/compiler/java/com/google/dart/compiler/ast/DartDirective.java
|
| index 3a1fe7e01223870d02521cb7d29e799a7032bfdf..0d3ae6d23bb7c0eb2ce10cc7cbad6f62794ab815 100644
|
| --- a/compiler/java/com/google/dart/compiler/ast/DartDirective.java
|
| +++ b/compiler/java/com/google/dart/compiler/ast/DartDirective.java
|
| @@ -4,8 +4,14 @@
|
|
|
| package com.google.dart.compiler.ast;
|
|
|
| +import com.google.dart.compiler.resolver.NodeElement;
|
| +
|
| /**
|
| * Base class for directives.
|
| */
|
| public abstract class DartDirective extends DartNode {
|
| + @Override
|
| + public NodeElement getElement() {
|
| + throw new UnsupportedOperationException(getClass().getSimpleName());
|
| + }
|
| }
|
|
|