Swift: fix KeyPathExpr assertion
#18684
+1
−6
Merged
KeyPathExpr assertion
#18684