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
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution