-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Volt parser embedding block error #12846
Comments
It is not issue. As you can see in error message:
|
@sergeyklay But it's not a block. |
Oh yeah, I see. |
Thank you for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please feel free to either reopen this issue or open a new one. We will be more than happy to look at it again! You can read more here: https://blog.phalconphp.com/post/github-closing-old-issues |
There is an issue when I have a keyword which is called as 'block' in my loops. Parser thinks that it's embedding block and throws an error:
Embedding blocks into other blocks is not supported in
Source code for reproduce:
base.volt
child.volt
Even if I change block to something else in one place, parser still throws error:
So the working example looks like this:
(with 's' on the end)
I think it's a bug.
The text was updated successfully, but these errors were encountered: