Skip to content

Mixing of !for based loops and usual sequences breaks order #13

@elchupanebrej

Description

@elchupanebrej

When I do:

seq: !-
  - first
  - second

after_seq: !-
  - pre-last
  - last

extended_seq:
  - !for .seq: !()
      - !? $
  - next
  - other next
  - !for .after_seq: !()
      - !? $

I expect the next output:

extended_seq:
  - first
  - second
  - next
  - other next
  - pre-last
  - last

But I get:

extended_seq:
  - next
  - other next
  - first
  - second
  - pre-last
  - last

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