Fix hang if return is typed on a table.