Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau committed Oct 13, 2022
1 parent bc115a8 commit a4fbc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler/compile/nodes/shared/Expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,8 @@ export default class Expression {

const func_expression = func_declaration[0];

if (node.type === 'InlineComponent' || node.type === 'SlotTemplate') {
// <Comp let:data />
if (node.type === 'SlotTemplate') {
// <svelte:fragment let:data />
this.replace(func_expression);
} else {
// {#each}, {#await}
Expand Down

0 comments on commit a4fbc31

Please sign in to comment.