Skip to content

Commit

Permalink
CONSTANT_TAG is missing the required description
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode committed Dec 14, 2023
1 parent b60f367 commit 595f732
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/@glimmer/validator/lib/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,16 @@ function applyComboLabel(parent: MonomorphicTagImpl, tags: Tag | Tag[]) {
//////////

export const CONSTANT_TAG: ConstantTag = new MonomorphicTagImpl(CONSTANT_TAG_ID);
setDescription(
CONSTANT_TAG,
devmode(
() =>
({
reason: 'cell',
label: ['(constant)'],
}) satisfies TagDescription
)
);

export function isConstTag(tag: Tag): tag is ConstantTag {
return tag === CONSTANT_TAG;
Expand Down

0 comments on commit 595f732

Please sign in to comment.