Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 6f5cd1c6e0337b0ccaea2c07e67732c83e1eb678..0d8ed525a18a3c6ceff0639a9a0bffcd596e7e9d 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -346,7 +346,9 @@ void AstTyper::VisitDebuggerStatement(DebuggerStatement* stmt) { |
} |
-void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) {} |
+void AstTyper::VisitFunctionLiteral(FunctionLiteral* expr) { |
+ expr->InitializeSharedInfo(Handle<Code>(info_->closure()->shared()->code())); |
+} |
void AstTyper::VisitClassLiteral(ClassLiteral* expr) {} |