wip(compiler): adjust statement positions

This commit is contained in:
Evan You
2019-09-25 15:09:58 -04:00
parent b43f3b61b7
commit ff2313e43a
5 changed files with 43 additions and 20 deletions

View File

@@ -9,10 +9,10 @@ test('basic source map support', async () => {
filename: `foo.vue`
})
expect(code).toMatch(
`const { toString } = Vue
`const _Vue = Vue
return function render() {
with (this) {
const { toString } = _Vue
return [
"hello ",
toString(world)