Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2817

@if macro fails when it is on the first line.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 3.12.0, 3.12.0b1
    • Fix Version/s: 3.12.0, 3.12.0b1
    • Component/s: Parsing
    • Labels:
      None
    • Platform:
      Any
    • Complexity:
      XS

      Description

      When @if is on the first line of a file, cf-promises fail with a parsding error. See pull request with unit test:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bas Bas van der Vlies
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel