mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
'type' and 'missingType' are contextual types in the generic environment of the witness thunk. We cannot simply map them into the environment of the conformance, because if the conforming type is a class, the witness thunk has an extra generic parameter at depth=0, index=0 and all other generic parameters are shifted down by one depth.
3.1 KiB
3.1 KiB