[swift-build-dev] Accessing types in a "parent" module

Paul Young paulyoungonline at gmail.com
Fri Dec 4 19:48:01 CST 2015


Given the following directory structure:


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


When running `swift build`, types defined in A.swift are considered to be undeclared in B.swift


Is there currently a way to resolve this without moving B.swift into the same directory as A.swift?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-build-dev/attachments/20151204/67628051/attachment.html>


More information about the swift-build-dev mailing list