|
|
@@ -121,10 +121,10 @@ const _hoisted_1 = { id: \\"foo\\" }
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { toString: _toString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+ const { toDisplayString: _toDisplayString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
- _createVNode(\\"div\\", _hoisted_1, _toString(hello), 1 /* TEXT */)
|
|
|
+ _createVNode(\\"div\\", _hoisted_1, _toDisplayString(hello), 1 /* TEXT */)
|
|
|
]))
|
|
|
}
|
|
|
}"
|
|
|
@@ -159,10 +159,10 @@ const _hoisted_1 = { class: { foo: true } }
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { toString: _toString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+ const { toDisplayString: _toDisplayString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
- _createVNode(\\"span\\", _hoisted_1, _toString(_ctx.bar), 1 /* TEXT */)
|
|
|
+ _createVNode(\\"span\\", _hoisted_1, _toDisplayString(_ctx.bar), 1 /* TEXT */)
|
|
|
]))
|
|
|
}
|
|
|
}"
|
|
|
@@ -174,14 +174,14 @@ const { createVNode: _createVNode } = Vue
|
|
|
|
|
|
const _hoisted_1 = _createVNode(\\"span\\", null, [
|
|
|
\\"foo \\",
|
|
|
- _toString(1),
|
|
|
+ _toDisplayString(1),
|
|
|
\\" \\",
|
|
|
- _toString(true)
|
|
|
+ _toDisplayString(true)
|
|
|
])
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { toString: _toString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+ const { toDisplayString: _toDisplayString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
_hoisted_1
|
|
|
@@ -194,11 +194,11 @@ exports[`compiler: hoistStatic transform prefixIdentifiers hoist nested static t
|
|
|
"const _Vue = Vue
|
|
|
const { createVNode: _createVNode } = Vue
|
|
|
|
|
|
-const _hoisted_1 = _createVNode(\\"span\\", { foo: 0 }, _toString(1))
|
|
|
+const _hoisted_1 = _createVNode(\\"span\\", { foo: 0 }, _toDisplayString(1))
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { toString: _toString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+ const { toDisplayString: _toDisplayString, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
_hoisted_1
|
|
|
@@ -228,12 +228,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, toString: _toString, createVNode: _createVNode } = _Vue
|
|
|
+ const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, toDisplayString: _toDisplayString, createVNode: _createVNode } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
(_openBlock(false), _createBlock(_Fragment, null, _renderList(_ctx.list, (o) => {
|
|
|
return (_openBlock(), _createBlock(\\"p\\", null, [
|
|
|
- _createVNode(\\"span\\", null, _toString(o + 'foo'), 1 /* TEXT */)
|
|
|
+ _createVNode(\\"span\\", null, _toDisplayString(o + 'foo'), 1 /* TEXT */)
|
|
|
]))
|
|
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
|
]))
|
|
|
@@ -246,12 +246,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { toString: _toString, resolveComponent: _resolveComponent, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
+ const { toDisplayString: _toDisplayString, resolveComponent: _resolveComponent, createVNode: _createVNode, createBlock: _createBlock, openBlock: _openBlock } = _Vue
|
|
|
|
|
|
const _component_Comp = _resolveComponent(\\"Comp\\")
|
|
|
|
|
|
return (_openBlock(), _createBlock(_component_Comp, null, {
|
|
|
- default: ({ foo }) => [_toString(_ctx.foo)],
|
|
|
+ default: ({ foo }) => [_toDisplayString(_ctx.foo)],
|
|
|
_compiled: true
|
|
|
}))
|
|
|
}
|
|
|
@@ -263,12 +263,12 @@ exports[`compiler: hoistStatic transform prefixIdentifiers should NOT hoist expr
|
|
|
|
|
|
return function render() {
|
|
|
with (this) {
|
|
|
- const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, toString: _toString, createVNode: _createVNode } = _Vue
|
|
|
+ const { renderList: _renderList, openBlock: _openBlock, createBlock: _createBlock, Fragment: _Fragment, toDisplayString: _toDisplayString, createVNode: _createVNode } = _Vue
|
|
|
|
|
|
return (_openBlock(), _createBlock(\\"div\\", null, [
|
|
|
(_openBlock(false), _createBlock(_Fragment, null, _renderList(_ctx.list, (o) => {
|
|
|
return (_openBlock(), _createBlock(\\"p\\", null, [
|
|
|
- _createVNode(\\"span\\", null, _toString(o), 1 /* TEXT */)
|
|
|
+ _createVNode(\\"span\\", null, _toDisplayString(o), 1 /* TEXT */)
|
|
|
]))
|
|
|
}), 256 /* UNKEYED_FRAGMENT */))
|
|
|
]))
|