fix(compiler): narrow the span reported for invalid pipes
fixes #13326 closes #13411
This commit is contained in:

committed by
Victor Berchet

parent
0a7364feea
commit
307d305b2d
@ -344,7 +344,7 @@ export class _ParseAST {
|
||||
while (this.optionalCharacter(chars.$COLON)) {
|
||||
args.push(this.parseExpression());
|
||||
}
|
||||
result = new BindingPipe(this.span(result.span.start - this.offset), result, name, args);
|
||||
result = new BindingPipe(this.span(result.span.start), result, name, args);
|
||||
} while (this.optionalOperator('|'));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user