| 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 3e7b71e225290dc1ab0b09eb3d44010278e0639e..896d394013bb33fadfd817e4c2d9c4183868fe05 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -619,6 +619,12 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
| }
|
|
|
| @Override
|
| + public Type visitExprStmt(DartExprStmt node) {
|
| + Type type = typeOf(node.getExpression());
|
| + return type;
|
| + }
|
| +
|
| + @Override
|
| public Type visitVariableStatement(DartVariableStatement node) {
|
| Type type = typeOf(node.getTypeNode());
|
| visit(node.getVariables());
|
|
|