mirror of https://github.com/sveltejs/svelte
parent
4ea8a5e36b
commit
65223363e9
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"svelte": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: handle falsy prop aliases correctly
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
let { 0: zero, 'ysc%%gibberish': one } = $props();
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{zero} {one}
|
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: `0 1`
|
||||||
|
});
|
@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
import Child from './Child.svelte';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Child 0={0} ysc%%gibberish={1} />
|
Loading…
Reference in new issue