Skip to content

loop over custom tag result #81

Description

@Igor-Palaguta

In Leaf 3 we could loop not just over arrays from context, but we also could loop over custom tag result

Now in Leaf 4:

  1. #for(language in #config("app", "languages")):
    Throws exception:
    LeafKit.LexerError.Reason.invalidParameterToken(\"#\")

  2. #for(language in config("app", "languages")):
    Throws:
    "for loops expect single expression, 'name in names'"

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