Skip to content

Commit c839fb5

Browse files
kripkentlively
andauthored
Update src/passes/DeadArgumentElimination.cpp
Co-authored-by: Thomas Lively <tlively123@gmail.com>
1 parent 40fde5b commit c839fb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/passes/DeadArgumentElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ struct DAE : public Pass {
618618
builder[0].subTypeOf(func->type);
619619
// Make this subtype open like the super. This is not necessary, but might
620620
// allow more work later after other changes, in theory.
621-
builder.setOpen(0, true);
621+
builder[0].setOpen();
622622
auto result = builder.build();
623623
assert(!result.getError());
624624
func->type = (*result)[0];

0 commit comments

Comments
 (0)