[SR-10467] Argument type 'KeyPath<String, Int>' does not conform to expected type 'Any' #52867
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
key paths
Feature: key paths (both native and Objective-C)
type checker
Area → compiler: Semantic analysis
Environment
Swift 5: including
master
/0de62cb148ea4b2de5ff90bd93fc487cc4a59183
Additional Detail from JIRA
md5: 6b0b7068fd25aeff9a2895f24874a513
Issue Description:
The following code:
Leads to:
Attempting to cast:
Leads to:
The text was updated successfully, but these errors were encountered: