Uploaded image for project: 'Swift'
  1. Swift
  2. SR-66

Unsupported source layout doesn't error as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Package Manager
    • Labels:
      None

      Description

      As discussed on the swift-build-dev mailing list, when running swift build on the following directory structure, types defined in A.swift are considered to be undeclared in B.swift.

      Sources/A.swift
      Sources/B/B.swift
      

      This ticket serves as a place to diagnose the issue and improve documentation, as requested by Daniel Dunbar

      It was suggested by Max Howell that this layout should either be supported or error.

        Attachments

          Activity

            People

            Assignee:
            mxcl Max Howell
            Reporter:
            py Paul Young
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: