@@ -6,13 +6,13 @@ const t0 = _template("foo")
6
6
7
7
export function render(_ctx) {
8
8
const _component_Comp = _resolveComponent (" Comp" )
9
- const n2 = _createComponent (_component_Comp , null , null , () => [ {
9
+ const n2 = _createComponent (_component_Comp , null , null , [ () => ( {
10
10
name: _ctx .name ,
11
11
fn : () => {
12
12
const n0 = t0 ()
13
13
return n0
14
14
}
15
- }], true )
15
+ }) ], true )
16
16
return n2
17
17
} "
18
18
` ;
@@ -23,13 +23,13 @@ const t0 = _template("foo")
23
23
24
24
export function render(_ctx) {
25
25
const _component_Comp = _resolveComponent (" Comp" )
26
- const n2 = _createComponent (_component_Comp , null , null , () => [ _createForSlots (_ctx .list , (item ) => ({
26
+ const n2 = _createComponent (_component_Comp , null , null , [ () => ( _createForSlots (_ctx .list , (item ) => ({
27
27
name: item ,
28
28
fn: _withDestructure (({ bar }) => [bar ], (_ctx0 ) => {
29
29
const n0 = t0 ()
30
30
return n0
31
31
})
32
- }))], true )
32
+ }))) ], true )
33
33
return n2
34
34
} "
35
35
` ;
@@ -40,13 +40,13 @@ const t0 = _template("foo")
40
40
41
41
export function render(_ctx) {
42
42
const _component_Comp = _resolveComponent (" Comp" )
43
- const n2 = _createComponent (_component_Comp , null , null , () => [ _createForSlots (_ctx .list , (_ , __ , index ) => ({
43
+ const n2 = _createComponent (_component_Comp , null , null , [ () => ( _createForSlots (_ctx .list , (_ , __ , index ) => ({
44
44
name: index ,
45
45
fn : () => {
46
46
const n0 = t0 ()
47
47
return n0
48
48
}
49
- }))], true )
49
+ }))) ], true )
50
50
return n2
51
51
} "
52
52
` ;
@@ -59,7 +59,7 @@ const t2 = _template("else condition")
59
59
60
60
export function render(_ctx) {
61
61
const _component_Comp = _resolveComponent (" Comp" )
62
- const n6 = _createComponent (_component_Comp , null , null , () => [ _ctx .condition
62
+ const n6 = _createComponent (_component_Comp , null , null , [ () => ( _ctx .condition
63
63
? {
64
64
name: " condition" ,
65
65
fn : () => {
@@ -84,7 +84,7 @@ export function render(_ctx) {
84
84
return n4
85
85
},
86
86
key: " 2"
87
- }], true )
87
+ }) ], true )
88
88
return n6
89
89
} "
90
90
` ;
@@ -151,13 +151,13 @@ exports[`compiler: transform slot > on component dynamically named slot 1`] = `
151
151
152
152
export function render(_ctx) {
153
153
const _component_Comp = _resolveComponent (" Comp" )
154
- const n1 = _createComponent (_component_Comp , null , { }, () => [ {
154
+ const n1 = _createComponent (_component_Comp , null , { }, [ () => ( {
155
155
name: _ctx .named ,
156
156
fn: _withDestructure (({ foo }) => [foo ], (_ctx0 ) => {
157
157
const n0 = _createTextNode (() => [_ctx0 [0 ] + _ctx .bar ])
158
158
return n0
159
159
})
160
- }], true )
160
+ }) ], true )
161
161
return n1
162
162
} "
163
163
` ;
0 commit comments