fix #9134, regression on uninitialized `let` variable