mirror of https://github.com/sveltejs/svelte
fix: ensure dynamic call expressions correctly generate output (#14345)
parent
24ebbcbbc1
commit
1c454c236e
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: ensure dynamic call expressions correctly generate output
|
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: '<span class="red">A</span>\n<div><span class="red">B</span></div>'
|
||||||
|
});
|
@ -0,0 +1,4 @@
|
|||||||
|
<span class={(() => 'red')()}>A</span>
|
||||||
|
<div>
|
||||||
|
<span class={(() => 'red')()}>B</span>
|
||||||
|
</div>
|
Loading…
Reference in new issue