Skip to content

for loop failed with maximum recursion depth exceeded #22

@dimonb

Description

@dimonb

This code

a: !-
  - 1
  - 2
  - 3

b: 
  - !for .a: !()
    !if true: # any condition here
      - !? $

failed with

$ .venv/bin/yglu <test.yglu.yaml
Parse error: unexpected end of statement
 in <stdin>, line 1, column 1:
  None
maximum recursion depth exceeded
Finished with errors.

expected result:

b:
- 1
- 2
- 3

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