Skip to content

Non-helper functions not deconflicted #388

@Conduitry

Description

@Conduitry

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions