Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index db5ca61a8e71b217dcbb8bce2d2894def51b20bd..2b7da14551811da59f0ba6e1d0a814befe56b166 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -136,6 +136,11 @@ void AstTyper::VisitEmptyStatement(EmptyStatement* stmt) { |
} |
+void AstTyper::VisitDelegateStatement(DelegateStatement* stmt) { |
+ Visit(stmt->statement()); |
+} |
+ |
+ |
void AstTyper::VisitIfStatement(IfStatement* stmt) { |
// Collect type feedback. |
if (!stmt->condition()->ToBooleanIsTrue() && |