Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 237c79f2278f9dd9e75c29bb468affd776c9d53d..204ace6c9688e0bff9089ad16c462d95018c3393 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -38,7 +38,7 @@ void AstTyper::Run(CompilationInfo* info) { |
Scope* scope = info->scope(); |
RECURSE(visitor->VisitDeclarations(scope->declarations())); |
- RECURSE(visitor->VisitStatements(info->function()->body())); |
+ RECURSE(visitor->VisitStatements(info->literal()->body())); |
} |
#undef RECURSE |