Files
swift-mirror/test/Serialization/Inputs/classes.swift
Erik Eckstein c957c50e28 Serialization: use the mangled class name for serializing vtables.
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
2019-05-11 08:30:15 -07:00

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 {
}
}