mirror of
https://github.com/apple/swift.git
synced 2026-10-10 13:50:43 +02:00
We were emitting relative references to entities that might be in another translation unit. Use a GOT entry or thunk where appropriate. Fixes <rdar://problem/45901706>.
5 lines
86 B
Swift
5 lines
86 B
Swift
public struct A {
|
|
// note: not public
|
|
var foo: Int { get { return 0 } set { } }
|
|
}
|