Skip to content

Commit 4888860

Browse files
committed
simplify
1 parent 5229f02 commit 4888860

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/2-analyze

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ const common_visitors = {
12561256
}
12571257

12581258
const callee = node.callee;
1259-
const rune = callee.type === 'Identifier' ? get_rune(node, context.state.scope) : null;
1259+
const rune = get_rune(node, context.state.scope);
12601260

12611261
if (callee.type === 'Identifier') {
12621262
const binding = context.state.scope.get(callee.name);

0 commit comments

Comments
 (0)