Skip to content

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

Description

@hrach

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions