refactor(compiler): improve member expression check for v-on & v-model

This commit is contained in:
Evan You
2019-10-10 11:15:24 -04:00
parent 87c3d2edae
commit f11dadc1d2
9 changed files with 63 additions and 13 deletions

View File

@@ -519,11 +519,12 @@ export function createInterpolation(
}
export function createCompoundExpression(
children: CompoundExpressionNode['children']
children: CompoundExpressionNode['children'],
loc: SourceLocation = locStub
): CompoundExpressionNode {
return {
type: NodeTypes.COMPOUND_EXPRESSION,
loc: locStub,
loc,
children
}
}