]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(compat): correct deprecation message for v-bind.sync usage (#13137)
authorlinzhe <40790268+linzhe141@users.noreply.github.com>
Wed, 2 Apr 2025 03:12:29 +0000 (11:12 +0800)
committerGitHub <noreply@github.com>
Wed, 2 Apr 2025 03:12:29 +0000 (11:12 +0800)
close #13133

packages/compiler-core/src/parser.ts

index 95c5e129f2523ade97a84edc2cbaf31c97cbcb5d..7d1b01360c49f9b804a5069468cdeaca49d15819 100644 (file)
@@ -388,7 +388,7 @@ const tokenizer = new Tokenizer(stack, {
               CompilerDeprecationTypes.COMPILER_V_BIND_SYNC,
               currentOptions,
               currentProp.loc,
-              currentProp.rawName,
+              currentProp.arg!.loc.source,
             )
           ) {
             currentProp.name = 'model'