mirror of https://github.com/sveltejs/svelte
fix compiler hanging on <slot slot="..."> (#5536)
parent
40c850d3e7
commit
5d480c5d5a
@ -0,0 +1,3 @@
|
||||
<div>
|
||||
<slot name="test" />
|
||||
</div>
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import Component from './Component.svelte';
|
||||
</script>
|
||||
|
||||
<Component>
|
||||
<slot slot="test" />
|
||||
</Component>
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: '<div><span>lol</span></div>'
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<script>
|
||||
import Forward from './Forward.svelte';
|
||||
</script>
|
||||
|
||||
<Forward>
|
||||
<span>
|
||||
lol
|
||||
</span>
|
||||
</Forward>
|
Loading…
Reference in new issue