swift
fb9f4e8d - [5.0] IRGen: Don't assert on keypaths that use a subclass as root

Commit
6 years ago
[5.0] IRGen: Don't assert on keypaths that use a subclass as root class A { let x : Int = 0 } class B : A {} _ = \B.x * No ABI impact * Correctness fix: We would emit wrong offsets for stored properties in this case in an non-assert build. rdar://46562046
Author
Committer
Parents
Loading