Skip to content

The compiled methods can lead to invalid PHP code due to duplicate method names #21

Open
@stof

Description

If a template contains a deferred block named foo and another block named foo_deferred, the compiled template will contain 2 methods block_foo_deferred (corresponding to different cases).
The method names for block_*_deferred should probably be changed to deferred_block_* to avoid conflicts with the block_* pattern of block methods.

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions