@@ -126,8 +126,7 @@ exports[`compiler: transform slot > nested slots scoping 1`] = `
126
126
" default" : (_slotProps0 ) => {
127
127
const n5 = _createComponent (Inner , null , {
128
128
" default" : (_slotProps1 ) => {
129
- const n3 = t0 ()
130
- _setNodes (n3 , () => (_slotProps0 [" foo" ] + _slotProps1 [" bar" ] + baz ))
129
+ const n3 = _createNodes (() => (_slotProps0 [" foo" ] + _slotProps1 [" bar" ] + baz ))
131
130
return n3
132
131
}
133
132
})
@@ -146,8 +145,7 @@ exports[`compiler: transform slot > on component dynamically named slot 1`] = `
146
145
() => ({
147
146
name: named ,
148
147
fn : (_slotProps0 ) => {
149
- const n0 = t0 ()
150
- _setNodes (n0 , () => (_slotProps0 [" foo" ] + bar ))
148
+ const n0 = _createNodes (() => (_slotProps0 [" foo" ] + bar ))
151
149
return n0
152
150
}
153
151
})
@@ -161,8 +159,7 @@ exports[`compiler: transform slot > on component named slot 1`] = `
161
159
"
162
160
const n1 = _createComponent(Comp, null, {
163
161
" named" : (_slotProps0 ) => {
164
- const n0 = t0 ()
165
- _setNodes (n0 , () => (_slotProps0 [" foo" ] + bar ))
162
+ const n0 = _createNodes (() => (_slotProps0 [" foo" ] + bar ))
166
163
return n0
167
164
}
168
165
} )
@@ -174,8 +171,7 @@ exports[`compiler: transform slot > on-component default slot 1`] = `
174
171
"
175
172
const n1 = _createComponent(Comp, null, {
176
173
" default" : (_slotProps0 ) => {
177
- const n0 = t0 ()
178
- _setNodes (n0 , () => (_slotProps0 [" foo" ] + bar ))
174
+ const n0 = _createNodes (() => (_slotProps0 [" foo" ] + bar ))
179
175
return n0
180
176
}
181
177
} )
0 commit comments