Closed
Description
Version
2.5.13
Reproduction link
https://jsfiddle.net/lxjwlt/ajy768fs/
Steps to reproduce
in chrome 57 and 56,
-
filter with empty arguments:
<div>{{text | someFilter()}}</div>
-
when no parentheses:
<div>{{text | someFilter}}</div>
What is expected?
- no error
- no error
What is actually happening?
1.in chrome 57 and 56, report error:
[Vue warn]: Error compiling template:
<div>{{text | someFilter()}}</div>
- invalid expression: Unexpected token ) in
_s(_f("someFilter")(text,))
Raw expression: {{text | someFilter()}}
(found in <Root>)
2.no error
I have also examined the chrome 58 and 63 which have no errors both, so i guess this bug only occurs in chrome 57-.
mac-chrome57: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/444958/
win-chrome57: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win/444958/