Update packages/svelte/src/compiler/phases/1-parse/state/tag.js

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/10320/head
S. Elliott Johnson 10 months ago committed by GitHub
parent 83218b102f
commit 381fd7b813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -290,7 +290,7 @@ function open(parser) {
// TODO: handle error
if (snippet_expression.type !== 'FunctionExpression') {
throw new Error();
error(snippet_expression, 'TODO', 'expected a function expression');
}
// TODO: handle error

Loading…
Cancel
Save