mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This means all cross-module references and all mangled names will consistently use the Swift 4 name (the canonical type), no special handling required. The main thing we lose here is that the Swift 4 names of imported types become usable in Swift 3 mode without any diagnostics, similar to how most language features introduced in Swift 4 are available in Swift 3 mode. It also implies that the Swift 4 name will show up in demangled names. rdar://problem/31616162
110 KiB
110 KiB