@@ -4,7 +4,7 @@ exports[`compiler: hoistStatic transform hoist element with static key 1`] = `
4
4
"const _Vue = Vue
5
5
const { createVNode : _createVNode } = _Vue
6
6
7
- const _hoisted_1 = _createVNode(\\ "div\\ ", { key : \\" foo\\ " } )
7
+ const _hoisted_1 = _createVNode(\\ "div\\ ", { key : \\" foo\\ " } , null, -1 )
8
8
9
9
return function render(_ctx, _cache) {
10
10
with (this ) {
@@ -24,7 +24,7 @@ const { createVNode: _createVNode } = _Vue
24
24
const _hoisted_1 = _createVNode(\\ "p\\ ", null, [
25
25
_createVNode(\\ "span\\ "),
26
26
_createVNode(\\ "span\\ ")
27
- ])
27
+ ], -1 )
28
28
29
29
return function render(_ctx, _cache) {
30
30
with (this ) {
@@ -43,7 +43,7 @@ const { createVNode: _createVNode, createCommentVNode: _createCommentVNode } = _
43
43
44
44
const _hoisted_1 = _createVNode(\\ "div\\ ", null, [
45
45
_createCommentVNode(\\ "comment\\ ")
46
- ])
46
+ ], -1 )
47
47
48
48
return function render(_ctx, _cache) {
49
49
with (this ) {
@@ -60,8 +60,8 @@ exports[`compiler: hoistStatic transform hoist siblings with common non-hoistabl
60
60
"const _Vue = Vue
61
61
const { createVNode : _createVNode } = _Vue
62
62
63
- const _hoisted_1 = _createVNode(\\ "span\\ ")
64
- const _hoisted_2 = _createVNode(\\ "div\\ ")
63
+ const _hoisted_1 = _createVNode(\\ "span\\ ", null, null, -1 )
64
+ const _hoisted_2 = _createVNode(\\ "div\\ ", null, null, -1 )
65
65
66
66
return function render(_ctx, _cache) {
67
67
with (this ) {
@@ -79,7 +79,7 @@ exports[`compiler: hoistStatic transform hoist simple element 1`] = `
79
79
"const _Vue = Vue
80
80
const { createVNode : _createVNode } = _Vue
81
81
82
- const _hoisted_1 = _createVNode(\\ "span\\ ", { class : \\"inline \\" }, \\" hello\\ " )
82
+ const _hoisted_1 = _createVNode(\\ "span\\ ", { class : \\"inline \\" }, \\" hello\\ " , - 1 )
83
83
84
84
return function render(_ctx , _cache ) {
85
85
with (this ) {
@@ -172,7 +172,7 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
172
172
"const _Vue = Vue
173
173
const { createVNode : _createVNode } = _Vue
174
174
175
- const _hoisted_1 = _createVNode(\\ "span\\ ", null, \\ "foo \\ " + _toDisplayString(1) + \\ " \\ " + _toDisplayString(true))
175
+ const _hoisted_1 = _createVNode(\\ "span\\ ", null, \\ "foo \\ " + _toDisplayString(1) + \\ " \\ " + _toDisplayString(true), -1 )
176
176
177
177
return function render(_ctx, _cache) {
178
178
with (this ) {
@@ -189,7 +189,7 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
189
189
"const _Vue = Vue
190
190
const { createVNode : _createVNode } = _Vue
191
191
192
- const _hoisted_1 = _createVNode(\\ "span\\ ", { foo : 0 } , _toDisplayString(1))
192
+ const _hoisted_1 = _createVNode(\\ "span\\ ", { foo : 0 } , _toDisplayString(1), -1 )
193
193
194
194
return function render(_ctx, _cache) {
195
195
with (this ) {
@@ -346,7 +346,7 @@ exports[`compiler: hoistStatic transform should hoist v-for children if static 1
346
346
const { createVNode : _createVNode } = _Vue
347
347
348
348
const _hoisted_1 = { id : \\" foo\\ " }
349
- const _hoisted_2 = _createVNode(\\ "span\\ ")
349
+ const _hoisted_2 = _createVNode(\\ "span\\ ", null, null, -1 )
350
350
351
351
return function render(_ctx, _cache) {
352
352
with (this ) {
@@ -371,7 +371,7 @@ const _hoisted_1 = {
371
371
key : 0 ,
372
372
id : \\" foo\\ "
373
373
}
374
- const _hoisted_2 = _createVNode(\\ "span\\ ")
374
+ const _hoisted_2 = _createVNode(\\ "span\\ ", null, null, -1 )
375
375
376
376
return function render(_ctx, _cache) {
377
377
with (this ) {
0 commit comments