Skip to content
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

Link with a class constant as an argument cannot be parsed #321

Closed
hrach opened this issue Feb 5, 2024 · 0 comments
Closed

Link with a class constant as an argument cannot be parsed #321

hrach opened this issue Feb 5, 2024 · 0 comments

Comments

@hrach
Copy link
Contributor

hrach commented Feb 5, 2024

Version: 3.1.14

Bug Description

After updating to Nette 3, link parsing in Latte doesn't work if I have a class/const reference in it.

{link Prayers:Prayers:default \Signaly\Prayers\PrayersPresenter::FILTER_I_PRAY}

This ends with:

Latte\CompileException
Unexpected ':' (in '.../Homepage/board.latte' on line 141 at column 27)

Expected Behavior

It works as in Nette 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant