mirror of https://github.com/sveltejs/svelte
parent
e6eb10c581
commit
61e2896f33
@ -0,0 +1,6 @@
|
|||||||
|
<script>
|
||||||
|
// script block prevents auto-declaration
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<p>{potato}</p>
|
||||||
|
<p>{Math.max(1, 2)}</p>
|
@ -0,0 +1,15 @@
|
|||||||
|
[{
|
||||||
|
"code": "missing-declaration",
|
||||||
|
"message": "'potato' is not defined",
|
||||||
|
"pos": 67,
|
||||||
|
"start": {
|
||||||
|
"line": 5,
|
||||||
|
"column": 4,
|
||||||
|
"character": 67
|
||||||
|
},
|
||||||
|
"end": {
|
||||||
|
"line": 5,
|
||||||
|
"column": 10,
|
||||||
|
"character": 73
|
||||||
|
}
|
||||||
|
}]
|
Loading…
Reference in new issue