@@ -36,7 +36,7 @@ export function render(_ctx) {
3636 const n4 = _createAssetComponent (" Comp" , null , _extend (() => {
3737 const n0 = _createIf (() => (true ), () => {
3838 const n3 = t0 ()
39- _setInsertionState (n3 , null , 0 )
39+ _setInsertionState (n3 )
4040 const n2 = _createComponentWithFallback (_component_Bar )
4141 _withVaporDirectives (n2 , [[_directive_hello , void 0 , void 0 , { world: true }]])
4242 return n3
@@ -146,19 +146,20 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
146146`;
147147
148148exports[`compile > directives > v-pre > should not affect siblings after it 1`] = `
149- " import { setProp as _setProp , renderEffect as _renderEffect , setInsertionState as _setInsertionState , createAssetComponent as _createAssetComponent , child as _child , toDisplayString as _toDisplayString , setText as _setText , template as _template } from ' vue' ;
149+ " import { child as _child , setProp as _setProp , renderEffect as _renderEffect , setInsertionState as _setInsertionState , createAssetComponent as _createAssetComponent , next as _next , toDisplayString as _toDisplayString , setText as _setText , template as _template } from ' vue' ;
150150const t0 = _template("<div :id=foo><Comp></Comp>{{ bar }}", 2)
151- const t1 = _template("<div> " )
151+ const t1 = _template("<div><!> " )
152152
153153export function render(_ctx, $props, $emit, $attrs, $slots) {
154154 const n0 = t0()
155- const n3 = t1()
156- const n2 = _child(n3, 1)
157- _renderEffect(() => _setProp(n3, " id", _ctx.foo))
158- _setInsertionState(n3, 0)
155+ const n4 = t1()
156+ const n3 = _child(n4)
157+ const n2 = _next(n3)
158+ _renderEffect(() => _setProp(n4, " id", _ctx.foo))
159+ _setInsertionState(n4, n3)
159160 const n1 = _createAssetComponent("Comp")
160161 _renderEffect(() => _setText(n2, _toDisplayString(_ctx.bar)))
161- return [n0, n3 ]
162+ return [n0, n4 ]
162163}"
163164`;
164165
@@ -215,10 +216,10 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
215216 const n0 = _createFor (() => (_ctx .rows ), (_for_item0 ) => {
216217 const n6 = t0 ()
217218 const n2 = _child (n6 )
218- const n5 = _next (n2 , 1 )
219- const n4 = _next (n5 , 2 )
219+ const n5 = _next (n2 )
220+ const n4 = _next (n5 )
220221 const x2 = _txt (n2 )
221- _setInsertionState (n6 , n5 , 1 )
222+ _setInsertionState (n6 , n5 )
222223 const n3 = _createComponentWithFallback (_component_Child )
223224 const x4 = _txt (n4 )
224225 _renderEffect (() => _setText (x4 , _toDisplayString (_ctx .useId ())))
@@ -239,7 +240,7 @@ const t0 = _template("<div>", 1)
239240export function render(_ctx, $props, $emit, $attrs, $slots) {
240241 const n1 = t0 ()
241242 _renderEffect (() => _setProp (n1 , " id" , _ctx .useId ()))
242- _setInsertionState (n1 , null , 0 )
243+ _setInsertionState (n1 )
243244 const n0 = _createAssetComponent (" Child" )
244245 return n1
245246} "
@@ -265,12 +266,12 @@ const t1 = _template("<div><div></div><!><div></div><!><div><button>", 1)
265266
266267export function render(_ctx) {
267268 const n6 = t1 ()
268- const n5 = _next (_child (n6 ), 1 )
269+ const n5 = _next (_child (n6 ))
269270 const n7 = _nthChild (n6 , 3 )
270- const n4 = _child (_next (n7 , 4 ))
271- _setInsertionState (n6 , n5 , 1 )
271+ const n4 = _child (_next (n7 ))
272+ _setInsertionState (n6 , n5 )
272273 const n0 = _createAssetComponent (" Comp" )
273- _setInsertionState (n6 , n7 , 3 )
274+ _setInsertionState (n6 , n7 )
274275 const n1 = _createIf (() => (true ), () => {
275276 const n3 = t0 ()
276277 return n3
@@ -287,9 +288,9 @@ const t0 = _template("<div><div>", 1)
287288export function render(_ctx) {
288289 const n3 = t0 ()
289290 const n1 = _child (n3 )
290- _setInsertionState (n1 , null , 0 )
291+ _setInsertionState (n1 )
291292 const n0 = _createSlot ()
292- _setInsertionState (n3 , null , 1 )
293+ _setInsertionState (n3 , 1 )
293294 const n2 = _createAssetComponent (" Comp" )
294295 return n3
295296} "
@@ -302,7 +303,7 @@ const t0 = _template("<div><span> </span> <br> ", 1)
302303export function render(_ctx) {
303304 const n3 = t0 ()
304305 const n0 = _child (n3 )
305- const n1 = _next (n0 , 1 )
306+ const n1 = _next (n0 )
306307 const n2 = _nthChild (n3 , 3 )
307308 const x0 = _txt (n0 )
308309 _setText (x0 , _toDisplayString (_ctx .foo ))
@@ -460,9 +461,9 @@ const t0 = _template("<div><div>x</div><div><span> </div><div><span> ", 1)
460461
461462export function render(_ctx, $props, $emit, $attrs, $slots) {
462463 const n2 = t0 ()
463- let p1 = _next (_child (n2 ), 1 )
464+ let p1 = _next (_child (n2 ))
464465 const n0 = _child (p1 )
465- const n1 = _child ((p1 = _next (p1 , 2 )))
466+ const n1 = _child ((p1 = _next (p1 )))
466467 const x0 = _txt (n0 )
467468 const x1 = _txt (n1 )
468469 _renderEffect (() => {
0 commit comments