Skip to content

Syntax foreach as list() is no longer working in v3 #342

@survik1

Description

@survik1

Version: 3.0.x

Bug Description

Since v3 syntax foreach as list() is no longer working.

Steps To Reproduce

https://fiddle.nette.org/latte/#e09e2e14ee

Expected Behavior

foreach as list() is supported php construct, Latte should support it as well especially since it worked in 2.x

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