Skip to content

Commit

Permalink
chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error cod…
Browse files Browse the repository at this point in the history
…e order
  • Loading branch information
yyx990803 committed Feb 8, 2024
1 parent 2312184 commit 2b0a706
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/compiler-core/src/errors.ts
Expand Up @@ -78,7 +78,6 @@ export enum ErrorCodes {
X_V_FOR_MALFORMED_EXPRESSION,
X_V_FOR_TEMPLATE_KEY_PLACEMENT,
X_V_BIND_NO_EXPRESSION,
X_V_BIND_INVALID_SAME_NAME_ARGUMENT,
X_V_ON_NO_EXPRESSION,
X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET,
X_V_SLOT_MIXED_SLOT_USAGE,
Expand All @@ -99,6 +98,10 @@ export enum ErrorCodes {
X_SCOPE_ID_NOT_SUPPORTED,
X_VNODE_HOOKS,

// placed here to preserve order for the current minor
// TODO adjust order in 3.5
X_V_BIND_INVALID_SAME_NAME_ARGUMENT,

// Special value for higher-order compilers to pick up the last code
// to avoid collision of error codes. This should always be kept as the last
// item.
Expand Down

0 comments on commit 2b0a706

Please sign in to comment.