[SR-10826] can we make this keyPath subscript error message better? #53216
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
key paths
Feature: key paths (both native and Objective-C)
type checker
Area → compiler: Semantic analysis
Environment
$ swift --version
Swift version 5.1-dev (LLVM e56fafcd29, Swift 938cb0f75e)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: 9f46781f4c455df10e5fefd87679e22b
relates to:
Issue Description:
the problem here is that
keyPath
is aPartialKeyPath
, andvalue
needs to be declared asAny
, instead of a concrete type.The text was updated successfully, but these errors were encountered: