Now Swift 3 allow us import specific enum/struct from module, but it only allow 
us import top-level declaration.

For example:

in MyFoudnation framework:

public struct Time {
    public struct DateOnly {}
}

in App target:
I can only
 
import struct MyFoundation.Time

But I cannot 

import struct MyFoundation.Time.DateOnly

So allow developer import nested types

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to