| Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| index 272ac742d6820a7695cb069b8796870efb8d3686..85eced086f74f29387e49bf38da26c6870abf6b9 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -40,6 +40,7 @@ import com.google.dart.compiler.ast.DartDefault;
|
| import com.google.dart.compiler.ast.DartDoWhileStatement;
|
| import com.google.dart.compiler.ast.DartDoubleLiteral;
|
| import com.google.dart.compiler.ast.DartEmptyStatement;
|
| +import com.google.dart.compiler.ast.DartExportDirective;
|
| import com.google.dart.compiler.ast.DartExprStmt;
|
| import com.google.dart.compiler.ast.DartExpression;
|
| import com.google.dart.compiler.ast.DartField;
|
| @@ -2956,7 +2957,11 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
|
|
| @Override
|
| public Type visitImportDirective(DartImportDirective node) {
|
| - //return typeAsVoid(node);
|
| + return voidType;
|
| + }
|
| +
|
| + @Override
|
| + public Type visitExportDirective(DartExportDirective node) {
|
| return voidType;
|
| }
|
|
|
|
|