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

committed by
Victor Berchet

parent
3a64ad895a
commit
2b90cd532f
@ -1839,7 +1839,7 @@ Property binding a not used by any directive on an embedded template. Make sure
|
||||
|
||||
it('should report pipes as error that have not been defined as dependencies', () => {
|
||||
expect(() => parse('{{a | test}}', [])).toThrowError(`Template parse errors:
|
||||
The pipe 'test' could not be found ("[ERROR ->]{{a | test}}"): TestComp@0:0`);
|
||||
The pipe 'test' could not be found ("{{[ERROR ->]a | test}}"): TestComp@0:2`);
|
||||
});
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user