-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
SwiftUIFlag: Involves SwiftUIFlag: Involves SwiftUIbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.diagnostics QoIBug: Diagnostics Quality of ImplementationBug: Diagnostics Quality of Implementationfailed to produce diagnosticBug → internal error: Failed to produce diagnostic for expressionBug → internal error: Failed to produce diagnostic for expressiontype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Description
Description
when settings a foreground style to a unsure LinearGradient it causes an issues??
Reproduction
Text(Name)
.bold()
.foregroundStyle(Gradient ?? Color.white)Expected behavior
no idea
Environment
Swift 6
Additional information
Failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)

Metadata
Metadata
Assignees
Labels
SwiftUIFlag: Involves SwiftUIFlag: Involves SwiftUIbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.diagnostics QoIBug: Diagnostics Quality of ImplementationBug: Diagnostics Quality of Implementationfailed to produce diagnosticBug → internal error: Failed to produce diagnostic for expressionBug → internal error: Failed to produce diagnostic for expressiontype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis