[SR-15435] Extracting view from Gauge view initializer causes unknown error. #57741
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
Additional Detail from JIRA
md5: 2cefec8b795466261f7f6fd74f37b25d
Issue Description:
This code compiles:
But if I try to extract the view from either
minimumValueLabel
ormaximumValueLabel
I get "Failed to produce diagnostic for expression"It is unique to
minimumValueLabel
andmaximumValueLabel
. Extracting out the view fromcurrentValueLabel
does not cause this error.The text was updated successfully, but these errors were encountered: