Skip to content

Commit 2b0a706

Browse files
committed
chore: move X_V_BIND_INVALID_SAME_NAME_ARGUMENT to preserve error code order
1 parent 2312184 commit 2b0a706

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/compiler-core/src/errors.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export enum ErrorCodes {
7878
X_V_FOR_MALFORMED_EXPRESSION,
7979
X_V_FOR_TEMPLATE_KEY_PLACEMENT,
8080
X_V_BIND_NO_EXPRESSION,
81-
X_V_BIND_INVALID_SAME_NAME_ARGUMENT,
8281
X_V_ON_NO_EXPRESSION,
8382
X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET,
8483
X_V_SLOT_MIXED_SLOT_USAGE,
@@ -99,6 +98,10 @@ export enum ErrorCodes {
9998
X_SCOPE_ID_NOT_SUPPORTED,
10099
X_VNODE_HOOKS,
101100

101+
// placed here to preserve order for the current minor
102+
// TODO adjust order in 3.5
103+
X_V_BIND_INVALID_SAME_NAME_ARGUMENT,
104+
102105
// Special value for higher-order compilers to pick up the last code
103106
// to avoid collision of error codes. This should always be kept as the last
104107
// item.

0 commit comments

Comments
 (0)