-
-
Notifications
You must be signed in to change notification settings - Fork 79
a bug about parseFilter #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for this report. It doesn't look a documented behavior (https://vuejs.org/v2/guide/filters.html). Would you explain how it works? |
Vue parse This is not a standard usage about filter, obviously. But we may make a mistake sometimes, and it can not be debugged easily, because eslint just provide an error |
You are right. We should fix this. @yyx990803 I'd like to ask the specification. Should we go which way?
|
I think this should be a syntax error. |
@yyx990803 Thank you! |
try
eslint
to reproduce the bug.This is because
identity() || 0
isLogicalExpression
but notCallExpression
.This is the bug code.
im not good at parser, and I dont know how to fix this bug. So i only create an issue but not a pr.
The text was updated successfully, but these errors were encountered: