mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
To distinguish between classes which have the same name (but are in different contexts). Fixes a miscompile if classes with the same name are used from a different module. SR-10634 rdar://problem/50538534
17 lines
196 B
Swift
17 lines
196 B
Swift
|
|
open class B {
|
|
public init(data: Int) {
|
|
}
|
|
}
|
|
|
|
public struct StructA {
|
|
final public class Testclass: B {
|
|
}
|
|
}
|
|
|
|
public struct StructB {
|
|
final public class Testclass: B {
|
|
}
|
|
}
|
|
|