Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1960

realizing an empty array of resources fails in future evaluator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.5.0 RC
    • Fix Version/s: PUP 3.6.0
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-4-02 to 2014-4-09, Week 2014-4-09 to 2014-4-16

      Description

      The following code runs fine without deprecation warning in old evaluator but fails in 3.5-rc1:

      realize(File[[]])
      

      Error: Evaluation Error: File[] accepts 1 argument. Got 0 on node test.dalen.cloud.spotify.net
      Error: Evaluation Error: File[] accepts 1 argument. Got 0 on node test.dalen.cloud.spotify.net
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dalen Erik Dalén
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support