core
core copied to clipboard
fix(compiler): clone loc to `ifNode`
fix vuejs/language-tools#4911
The incremental update of language tools increased the start offset twice on the same loc object when traversing the v-if node.