Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Feb 29, 2024
1 parent addad85 commit a9a5ac2
Show file tree
Hide file tree
Showing 3 changed files with 3,095 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/fixtures/parser/ast/at-const02-input.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script>
export let boxes;
</script>

{#each boxes as box}
{
@const
area
=
box.width
*
box.height
}
{box.width} * {box.height} = {area}
{/each}

0 comments on commit a9a5ac2

Please sign in to comment.