fix: two functions with the same name in a `where`/`let rec` block

closes #4547
2 files changed