diff --git a/src/compiler/parse/state/tag.ts b/src/compiler/parse/state/tag.ts index 7320cd02fe..a936ab3bd4 100644 --- a/src/compiler/parse/state/tag.ts +++ b/src/compiler/parse/state/tag.ts @@ -335,7 +335,7 @@ function read_attribute(parser: Parser, unique_names: Set) { code: 'empty-attribute-value', message: 'Empty attribute shorthand' }, start); - } + } check_unique(name);