[SR-11473] Misleading error from wrong type #53873
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
Attachment: Download
Environment
Xcode 11 GM Seed
macOS 10.14.6
Additional Detail from JIRA
md5: bbed4f32829eeb9f8c2cfb275741f539
Issue Description:
In a nutshell:
The error reported is:
Static member 'leading' cannot be used on instance of type 'HorizontalAlignment'
On the VStack line.
Expected output would be "Cannot invoke 'append' with an argument list of type '(Int)'" on the append() line.
Simple Xcode project attached.
The text was updated successfully, but these errors were encountered: