mirror of https://github.com/sveltejs/svelte
throw error on illegal context (#934)
parent
582315086f
commit
c9aa72313e
@ -0,0 +1,8 @@
|
||||
[{
|
||||
"message": "'case' is a reserved word in JavaScript and cannot be used here",
|
||||
"loc": {
|
||||
"line": 1,
|
||||
"column": 18
|
||||
},
|
||||
"pos": 18
|
||||
}]
|
@ -0,0 +1,3 @@
|
||||
{{#each cases as [case]}}
|
||||
{{case.title}}
|
||||
{{/each}}
|
@ -0,0 +1,8 @@
|
||||
[{
|
||||
"message": "'case' is a reserved word in JavaScript and cannot be used here",
|
||||
"loc": {
|
||||
"line": 1,
|
||||
"column": 17
|
||||
},
|
||||
"pos": 17
|
||||
}]
|
@ -0,0 +1,3 @@
|
||||
{{#each cases as case}}
|
||||
{{case.title}}
|
||||
{{/each}}
|
Loading…
Reference in new issue