mirror of https://github.com/sveltejs/svelte
parent
587c168664
commit
27a4e2f5e8
@ -1,12 +0,0 @@
|
||||
[{
|
||||
"code": "invalid-slot-attribute",
|
||||
"message": "slot attribute cannot have a dynamic value",
|
||||
"start": {
|
||||
"line": 6,
|
||||
"column": 9
|
||||
},
|
||||
"end": {
|
||||
"line": 6,
|
||||
"column": 19
|
||||
}
|
||||
}]
|
||||
@ -1,7 +0,0 @@
|
||||
<script>
|
||||
import Nested from './Nested.svelte';
|
||||
</script>
|
||||
|
||||
<Nested>
|
||||
<button slot={foo}>click me</button>
|
||||
</Nested>
|
||||
@ -1,12 +0,0 @@
|
||||
[{
|
||||
"code": "dynamic-slot-name",
|
||||
"message": "<slot> name cannot be dynamic",
|
||||
"start": {
|
||||
"line": 1,
|
||||
"column": 6
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
}
|
||||
}]
|
||||
@ -1 +0,0 @@
|
||||
<slot name='{foo}'></slot>
|
||||
Loading…
Reference in new issue