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

Functions unable to call functions in different modules

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.6.0
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-4-23 to 2014-4-30, Week 2014-4-30 to 2014-5-7

      Description

      With two modules, a and b, and one function in each module, a::func1 and b::func2, it doesn't seem possible for a::func1 to make a call to b::func2.

      It needs to be possible with the new function API and the new loader system for function calls between modules to take place. The new loaders try to limit the visibility of modules so that they can more strictly control their dependencies, but it seems to be too strict right now.

      The rules should be:
      1. If there is no metadata for the module, everything is visible to it.
      2. If there is metadata, only those modules listed in the dependencies are visible to it.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            andy Andrew Parker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support