Files
swift-mirror/validation-test/IDE/issues_fixed/issue-57439.swift
Alex Hoppen a5a17aa955 [tests] Add a %batch-code-completion lit substitution
I could never remember the command to run batch code completion tests. Add a lit substitution for it.
2023-09-18 13:57:49 -07:00

25 lines
526 B
Swift

// RUN: %batch-code-completion
// https://github.com/apple/swift/issues/57439
struct TodayView {
func foo() {
Uext(verbatim: #^COMPLETE^#)
}
private func dateString2() -> String {
return "abc"
}
}
struct Uext {
init(verbatim content: String)
init<F : GormatStyle>(_ input: F.FormatInput) where F.FormatInput : Equatable
}
protocol GormatStyle {
associatedtype FormatInput
}
// COMPLETE: Decl[InstanceMethod]/CurrNominal/TypeRelation[Convertible]: dateString2()[#String#];