mirror of https://github.com/sveltejs/svelte
parent
c287bd503d
commit
3c3a542c05
@ -0,0 +1,9 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
error: {
|
||||
code: 'snippet_invalid_rest_parameter',
|
||||
message: 'Snippets do not support rest parameters; use an array instead',
|
||||
position: [19, 26]
|
||||
}
|
||||
});
|
@ -0,0 +1,3 @@
|
||||
{#snippet children(...args)}
|
||||
{args}
|
||||
{/snippet}
|
Loading…
Reference in new issue