This is a bit of a weird case to handle, because while we do want to rename the applyComputations function if it conflicts with imports, we don't want to just use the existing helper(name) function, as that then adds the function to .uses and we'd try to bring in the shared function by that name, which doesn't exist.
Saving gists seems broken at the moment in the REPL, so here's a quick reproduction:
<script>
import applyComputations from "./dummy";
export default {
computed: {
a: b => b
}
}
</script>
This is a bit of a weird case to handle, because while we do want to rename the
applyComputationsfunction if it conflicts with imports, we don't want to just use the existinghelper(name)function, as that then adds the function to.usesand we'd try to bring in the shared function by that name, which doesn't exist.Saving gists seems broken at the moment in the REPL, so here's a quick reproduction: