We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c33ff0 commit 1cc6a32Copy full SHA for 1cc6a32
packages/svelte/src/compiler/phases/1-parse/state/tag.js
@@ -565,7 +565,7 @@ function special(parser) {
565
type: 'VariableDeclaration',
566
kind: 'const',
567
declarations: [{ type: 'VariableDeclarator', id, init }],
568
- start: start + 1,
+ start: start + 2, // start at const, not at @const
569
end: parser.index - 1
570
}
571
});
0 commit comments