We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
Learn more about funding links in repositories.
Report abuse
isProp.arg.loc
isProp.loc
1 parent 29e4a11 commit 236fb7aCopy full SHA for 236fb7a
packages/compiler-core/src/transforms/transformElement.ts
@@ -250,7 +250,7 @@ export function resolveComponentType(
250
exp = isProp.exp
251
if (!exp) {
252
// #10469 handle :is shorthand
253
- exp = createSimpleExpression(`is`, false, isProp.loc)
+ exp = createSimpleExpression(`is`, false, isProp.arg!.loc)
254
if (!__BROWSER__) {
255
exp = isProp.exp = processExpression(exp, context)
256
}
0 commit comments