Skip to content

Commit 1587839

Browse files
committed
try bodies
1 parent 839c6e6 commit 1587839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ir/child-typer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ template<typename Subtype> struct ChildTyper : OverriddenVisitor<Subtype> {
693693
}
694694

695695
void visitTry(Try* curr) {
696+
note(&curr->body, curr->type);
696697
for (auto& expr : curr->catchBodies) {
697698
note(&expr, curr->type);
698699
}

0 commit comments

Comments
 (0)