Skip to content

Commit 133598a

Browse files
committed
remove unused
1 parent 6eb20fd commit 133598a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/svelte/src/compiler/utils/builders.js

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,6 @@ export function block(body) {
8989
return { type: 'BlockStatement', body };
9090
}
9191

92-
/**
93-
* @param {ESTree.BlockStatement} block
94-
* @param {ESTree.Pattern | null} param
95-
* @param {ESTree.BlockStatement} catch_block
96-
* @returns {ESTree.TryStatement}
97-
*/
98-
export function try_catch(block, param, catch_block) {
99-
return {
100-
type: 'TryStatement',
101-
block,
102-
handler: {
103-
type: 'CatchClause',
104-
param,
105-
body: catch_block
106-
}
107-
};
108-
}
109-
11092
/**
11193
* @param {string} name
11294
* @param {ESTree.Statement} body

0 commit comments

Comments
 (0)