@@ -149,7 +149,7 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
149149`;
150150
151151exports[`compile > directives > v-pre > should not affect siblings after it 1`] = `
152- " import { resolveComponent as _resolveComponent , setInsertionState as _setInsertionState , createComponentWithFallback as _createComponentWithFallback , child as _child , toDisplayString as _toDisplayString , setText as _setText , setProp as _setProp , renderEffect as _renderEffect , template as _template } from ' vue' ;
152+ " import { resolveComponent as _resolveComponent , setInsertionState as _setInsertionState , createComponentWithFallback as _createComponentWithFallback , child as _child , setProp as _setProp , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from ' vue' ;
153153const t0 = _template("<div :id=\\"foo\\"><Comp></Comp>{{ bar }}</div>")
154154const t1 = _template("<div> </div>")
155155
@@ -161,8 +161,8 @@ export function render(_ctx, $props, $emit, $attrs, $slots) {
161161 _setInsertionState (n3 , 0 )
162162 const n1 = _createComponentWithFallback (_component_Comp )
163163 _renderEffect (() => {
164- _setText (n2 , _toDisplayString (_ctx .bar ))
165164 _setProp (n3 , " id" , _ctx .foo )
165+ _setText (n2 , _toDisplayString (_ctx .bar ))
166166 })
167167 return [n0 , n3 ]
168168} "
@@ -180,7 +180,7 @@ export function render(_ctx) {
180180`;
181181
182182exports[`compile > dynamic root nodes and interpolation 1`] = `
183- "import { child as _child , toDisplayString as _toDisplayString , setText as _setText , setProp as _setProp , renderEffect as _renderEffect , delegateEvents as _delegateEvents , template as _template } from 'vue';
183+ "import { child as _child , setProp as _setProp , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , delegateEvents as _delegateEvents , template as _template } from 'vue';
184184const t0 = _template("<button > </button >", true)
185185_delegateEvents("click")
186186
@@ -190,13 +190,47 @@ export function render(_ctx) {
190190 n0 .$evtclick = e => _ctx .handleClick (e )
191191 _renderEffect (() => {
192192 const _count = _ctx .count
193- _setText (x0 , _toDisplayString (_count ) + " foo" + _toDisplayString (_count ) + " foo" + _toDisplayString (_count ))
194193 _setProp (n0 , " id" , _count )
194+ _setText (x0 , _toDisplayString (_count ) + " foo" + _toDisplayString (_count ) + " foo" + _toDisplayString (_count ))
195195 })
196196 return n0
197197} "
198198`;
199199
200+ exports[`compile > execution order > basic 1`] = `
201+ "import { child as _child , setProp as _setProp , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from 'vue';
202+ const t0 = _template("<div > </div >", true)
203+
204+ export function render(_ctx) {
205+ const n0 = t0 ()
206+ const x0 = _child (n0 )
207+ _renderEffect (() => {
208+ _setProp (n0 , " id" , _ctx .foo )
209+ _setText (x0 , _toDisplayString (_ctx .bar ))
210+ })
211+ return n0
212+ } "
213+ `;
214+
215+ exports[`compile > execution order > with v-once 1`] = `
216+ "import { child as _child , next as _next , nthChild as _nthChild , toDisplayString as _toDisplayString , setText as _setText , renderEffect as _renderEffect , template as _template } from 'vue';
217+ const t0 = _template("<div ><span > </span > <br > </div >", true)
218+
219+ export function render(_ctx) {
220+ const n3 = t0 ()
221+ const n0 = _child (n3 )
222+ const n1 = _next (n0 )
223+ const n2 = _nthChild (n3 , 3 )
224+ const x0 = _child (n0 )
225+ _setText (x0 , _toDisplayString (_ctx .foo ))
226+ _renderEffect (() => {
227+ _setText (n1 , " " + _toDisplayString (_ctx .bar ))
228+ _setText (n2 , " " + _toDisplayString (_ctx .baz ))
229+ })
230+ return n3
231+ } "
232+ `;
233+
200234exports[`compile > expression parsing > interpolation 1`] = `
201235"
202236 const n0 = t0()
0 commit comments