[SR-3190] Misleading error message: cannot subscript a value of type 'inout [PathPoint]' with optional field #45778
Labels
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
improvement
type checker
Area → compiler: Semantic analysis
Attachment: Download
Additional Detail from JIRA
md5: 1e7073afd5cd3139cc5bda61b452b44c
Issue Description:
The attached playground has the following code, and gets this error on the last line. The real problem is that anchorPt is Optional. This is in Xcode 8.1.
The text was updated successfully, but these errors were encountered: