@@ -121,10 +121,10 @@ const _hoisted_1 = { id: \\"foo\\" }
121
121
122
122
return function render() {
123
123
with (this ) {
124
- const { toString: _toString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
124
+ const { toDisplayString: _toDisplayString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
125
125
126
126
return (_openBlock (), _createBlock (\\" div\\ " , null , [
127
- _createVNode (\\" div\\ " , _hoisted_1 , _toString (hello ), 1 /* TEXT */ )
127
+ _createVNode (\\" div\\ " , _hoisted_1 , _toDisplayString (hello ), 1 /* TEXT */ )
128
128
]))
129
129
}
130
130
}"
@@ -159,10 +159,10 @@ const _hoisted_1 = { class: { foo: true } }
159
159
160
160
return function render() {
161
161
with (this ) {
162
- const { toString: _toString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
162
+ const { toDisplayString: _toDisplayString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
163
163
164
164
return (_openBlock (), _createBlock (\\" div\\ " , null , [
165
- _createVNode (\\" span\\ " , _hoisted_1 , _toString (_ctx .bar ), 1 /* TEXT */ )
165
+ _createVNode (\\" span\\ " , _hoisted_1 , _toDisplayString (_ctx .bar ), 1 /* TEXT */ )
166
166
]))
167
167
}
168
168
}"
@@ -174,14 +174,14 @@ const { createVNode: _createVNode } = Vue
174
174
175
175
const _hoisted_1 = _createVNode(\\ "span\\ ", null, [
176
176
\\ "foo \\ ",
177
- _toString (1),
177
+ _toDisplayString (1),
178
178
\\ " \\ ",
179
- _toString (true)
179
+ _toDisplayString (true)
180
180
])
181
181
182
182
return function render() {
183
183
with (this ) {
184
- const { toString: _toString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
184
+ const { toDisplayString: _toDisplayString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
185
185
186
186
return (_openBlock (), _createBlock (\\" div\\ " , null , [
187
187
_hoisted_1
@@ -194,11 +194,11 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
194
194
"const _Vue = Vue
195
195
const { createVNode : _createVNode } = Vue
196
196
197
- const _hoisted_1 = _createVNode(\\ "span\\ ", { foo : 0 } , _toString (1))
197
+ const _hoisted_1 = _createVNode(\\ "span\\ ", { foo : 0 } , _toDisplayString (1))
198
198
199
199
return function render() {
200
200
with (this ) {
201
- const { toString: _toString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
201
+ const { toDisplayString: _toDisplayString , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
202
202
203
203
return (_openBlock (), _createBlock (\\" div\\ " , null , [
204
204
_hoisted_1
@@ -228,12 +228,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
228
228
229
229
return function render() {
230
230
with (this ) {
231
- const { renderList: _renderList , openBlock: _openBlock , createBlock: _createBlock , Fragment: _Fragment , toString: _toString , createVNode: _createVNode } = _Vue
231
+ const { renderList: _renderList , openBlock: _openBlock , createBlock: _createBlock , Fragment: _Fragment , toDisplayString: _toDisplayString , createVNode: _createVNode } = _Vue
232
232
233
233
return (_openBlock (), _createBlock (\\" div\\ " , null , [
234
234
(_openBlock (false ), _createBlock (_Fragment , null , _renderList (_ctx .list , (o ) => {
235
235
return (_openBlock (), _createBlock (\\" p\\ " , null , [
236
- _createVNode (\\" span\\ " , null , _toString (o + ' foo' ), 1 /* TEXT */ )
236
+ _createVNode (\\" span\\ " , null , _toDisplayString (o + ' foo' ), 1 /* TEXT */ )
237
237
]))
238
238
}), 256 /* UNKEYED_FRAGMENT */ ))
239
239
]))
@@ -246,12 +246,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
246
246
247
247
return function render() {
248
248
with (this ) {
249
- const { toString: _toString , resolveComponent: _resolveComponent , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
249
+ const { toDisplayString: _toDisplayString , resolveComponent: _resolveComponent , createVNode: _createVNode , createBlock: _createBlock , openBlock: _openBlock } = _Vue
250
250
251
251
const _component_Comp = _resolveComponent (\\" Comp\\ " )
252
252
253
253
return (_openBlock (), _createBlock (_component_Comp , null , {
254
- default : ({ foo }) => [_toString (_ctx .foo )],
254
+ default : ({ foo }) => [_toDisplayString (_ctx .foo )],
255
255
_compiled: true
256
256
}))
257
257
}
@@ -263,12 +263,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
263
263
264
264
return function render() {
265
265
with (this ) {
266
- const { renderList: _renderList , openBlock: _openBlock , createBlock: _createBlock , Fragment: _Fragment , toString: _toString , createVNode: _createVNode } = _Vue
266
+ const { renderList: _renderList , openBlock: _openBlock , createBlock: _createBlock , Fragment: _Fragment , toDisplayString: _toDisplayString , createVNode: _createVNode } = _Vue
267
267
268
268
return (_openBlock (), _createBlock (\\" div\\ " , null , [
269
269
(_openBlock (false ), _createBlock (_Fragment , null , _renderList (_ctx .list , (o ) => {
270
270
return (_openBlock (), _createBlock (\\" p\\ " , null , [
271
- _createVNode (\\" span\\ " , null , _toString (o ), 1 /* TEXT */ )
271
+ _createVNode (\\" span\\ " , null , _toDisplayString (o ), 1 /* TEXT */ )
272
272
]))
273
273
}), 256 /* UNKEYED_FRAGMENT */ ))
274
274
]))
0 commit comments