[SR-16113] Misplacing a Spacer() before ToolbarItemGroup results into compiler error: Failed to produce diagnostic for expression; #58372
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
failed to produce diagnostic
Bug → internal error: Failed to produce diagnostic for expression
SwiftUI
Flag: Related to (but not an issue with) SwiftUI
type checker
Area → compiler: Semantic analysis
Environment
Xcode Version 13.3 (13E113)
Target iOS 15.4
MBP 16" 2022
Additional Detail from JIRA
md5: e96a77cac753636c32501dddacb4e816
Issue Description:
The following SwiftUI Code will generate the following error:
While the code is incorrect, Spacer() should be placed within the ToolbarItemGroup, a non descriptive error is generated.
Code snippet
Note: Cannot upload project due to Jira error:
"An internal error has occurred. Please contact your administrator."
The text was updated successfully, but these errors were encountered: