mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In APINotes, when an unversioned name overrides a previously declared name with a Swift version, if the previously declared name is guarded under version 4 the obsoleted version should be 4.2, not 5. In all other cases, the obsoleted version is the next major Swift version. Fixes rdar://problem/39950937
7 lines
118 B
Plaintext
7 lines
118 B
Plaintext
module APINotesTest {
|
|
header "APINotesTest.h"
|
|
}
|
|
module ObsoletedAPINotesTest {
|
|
header "ObsoletedAPINotesTest.h"
|
|
}
|