mirror of https://github.com/sveltejs/svelte
fix: use `analysis.name` when migrating `<svelte:self>` (#13544)
* fix: use `analysis.name` when migrating `<svelte:self>` * simplifypull/13444/merge
parent
2f6d84ab6b
commit
a0a31ed0d0
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: use `analysis.name` when migrating `<svelte:self>`
|
@ -1,22 +1,22 @@
|
||||
<script>
|
||||
import SvelteSelf_1 from './output.svelte';
|
||||
import Output_1 from './output.svelte';
|
||||
/** @type {Record<string, any>} */
|
||||
let { ...props } = $props();
|
||||
let SvelteSelf;
|
||||
let Output;
|
||||
</script>
|
||||
|
||||
{#if false}
|
||||
<SvelteSelf_1 />
|
||||
<SvelteSelf_1 with_attributes/>
|
||||
<SvelteSelf_1 count={count+1}/>
|
||||
<SvelteSelf_1>
|
||||
<Output_1 />
|
||||
<Output_1 with_attributes/>
|
||||
<Output_1 count={count+1}/>
|
||||
<Output_1>
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
<SvelteSelf_1 count={count+1}>
|
||||
</Output_1>
|
||||
<Output_1 count={count+1}>
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
<SvelteSelf_1 count={props.count} >
|
||||
</Output_1>
|
||||
<Output_1 count={props.count} >
|
||||
child
|
||||
</SvelteSelf_1>
|
||||
<SvelteSelf_1></SvelteSelf_1>
|
||||
{/if}
|
||||
</Output_1>
|
||||
<Output_1></Output_1>
|
||||
{/if}
|
||||
|
@ -1,21 +1,21 @@
|
||||
<script>
|
||||
import SvelteSelf from './output.svelte';
|
||||
import Output from './output.svelte';
|
||||
/** @type {Record<string, any>} */
|
||||
let { ...props } = $props();
|
||||
</script>
|
||||
|
||||
{#if false}
|
||||
<SvelteSelf />
|
||||
<SvelteSelf with_attributes/>
|
||||
<SvelteSelf count={count+1}/>
|
||||
<SvelteSelf>
|
||||
<Output />
|
||||
<Output with_attributes/>
|
||||
<Output count={count+1}/>
|
||||
<Output>
|
||||
child
|
||||
</SvelteSelf>
|
||||
<SvelteSelf count={count+1}>
|
||||
</Output>
|
||||
<Output count={count+1}>
|
||||
child
|
||||
</SvelteSelf>
|
||||
<SvelteSelf count={props.count} >
|
||||
</Output>
|
||||
<Output count={props.count} >
|
||||
child
|
||||
</SvelteSelf>
|
||||
<SvelteSelf></SvelteSelf>
|
||||
{/if}
|
||||
</Output>
|
||||
<Output></Output>
|
||||
{/if}
|
||||
|
Loading…
Reference in new issue