mirror of https://github.com/sveltejs/svelte
parent
f8eb0d16d6
commit
e00f920cf6
@ -0,0 +1,9 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
compileOptions: {
|
||||
dev: true
|
||||
},
|
||||
|
||||
error: "Cannot access 'c' before initialization"
|
||||
});
|
||||
@ -1,5 +1,5 @@
|
||||
<script>
|
||||
export let array;
|
||||
export let array = [1];
|
||||
</script>
|
||||
|
||||
{#each array as a}
|
||||
@ -1,3 +0,0 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({ skip: true });
|
||||
@ -1,8 +0,0 @@
|
||||
[
|
||||
{
|
||||
"code": "cyclical-const-tags",
|
||||
"message": "Cyclical dependency detected: b → c → b",
|
||||
"start": { "line": 6, "column": 2 },
|
||||
"end": { "line": 6, "column": 20 }
|
||||
}
|
||||
]
|
||||
Loading…
Reference in new issue