Skip to content

Commit ceb38a8

Browse files
committed
add test
1 parent 7b8f3a4 commit ceb38a8

File tree

3 files changed

+3095
-0
lines changed

3 files changed

+3095
-0
lines changed

Diff for: tests/fixtures/parser/ast/at-const02-input.svelte

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script>
2+
export let boxes;
3+
</script>
4+
5+
{#each boxes as box}
6+
{
7+
@const
8+
area
9+
=
10+
box.width
11+
*
12+
box.height
13+
}
14+
{box.width} * {box.height} = {area}
15+
{/each}

0 commit comments

Comments
 (0)