Files
swift-mirror/test/IRGen/Inputs/multithread_keypaths_other.swift
Slava Pestov 50f68839a9 IRGen: Fix keypath pattern emission regression in multi-threaded mode
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>.
2018-11-09 00:44:29 -05:00

5 lines
86 B
Swift

public struct A {
// note: not public
var foo: Int { get { return 0 } set { } }
}