-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitcode completionArea → source tooling: code completionArea → source tooling: code completionfound by stress testerFlag: An issue found by the SourceKit stress testerFlag: An issue found by the SourceKit stress testertype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Description
The following completion is too complex:
import SwiftUI
struct S: Identifiable {
var name: String
var id: ObjectIdentifier
}
struct V: View {
var xs: [S] = []
var body: some View {
List {
ForEach(self.xs) { x in
Group {
ForEach(self.xs) { y in
NavigationLink(destination: Text(y.name)) {
Text(y.#^CC^#)
}
}
}
}
}
}
}
It type-checks quickly if you replace y.#^CC^#
with y.name
though
Metadata
Metadata
Assignees
Labels
SourceKitArea → source tooling: SourceKitArea → source tooling: SourceKitcode completionArea → source tooling: code completionArea → source tooling: code completionfound by stress testerFlag: An issue found by the SourceKit stress testerFlag: An issue found by the SourceKit stress testertype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis