[SR-12827] Improve diagnostic for keypath with root type that cannot be inferred #55273
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 09d7d4d8ace51e7d45286ac9e3037caf
Issue Description:
For the following we currently emit:
It would be better to point to the key path itself and say that the root type could not be inferred.
The text was updated successfully, but these errors were encountered: