]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: preserve error code enum order
authorEvan You <yyx990803@gmail.com>
Tue, 12 Dec 2023 16:48:32 +0000 (00:48 +0800)
committerEvan You <yyx990803@gmail.com>
Tue, 12 Dec 2023 16:48:32 +0000 (00:48 +0800)
packages/compiler-core/src/errors.ts

index c7ee301231fca54e634a2a3a9ca4f63aa4808c5a..cef13d4e431ea978242f715d5f9233b36f0e242a 100644 (file)
@@ -90,13 +90,13 @@ export enum ErrorCodes {
   X_V_MODEL_ON_PROPS,
   X_INVALID_EXPRESSION,
   X_KEEP_ALIVE_INVALID_CHILDREN,
-  X_VNODE_HOOKS,
 
   // generic errors
   X_PREFIX_ID_NOT_SUPPORTED,
   X_MODULE_MODE_NOT_SUPPORTED,
   X_CACHE_HANDLER_NOT_SUPPORTED,
   X_SCOPE_ID_NOT_SUPPORTED,
+  X_VNODE_HOOKS,
 
   // 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