-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completionArea → source tooling: code completionsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingtype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Description
As discovered by the stress tester in #63022, we currently rely on CSApply calling coercePatternToType in order to type-check an expression pattern of a switch that's being solved in e.g a conjunction. This hampers solver-based code completion, preventing us from offering completions in expression pattern position. We ought to solve the expression as part of the constraint system.
rdar://104954155
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.code completionArea → source tooling: code completionArea → source tooling: code completionsource toolingArea: IDE support, SourceKit, and other source toolingArea: IDE support, SourceKit, and other source toolingtype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis