mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I could never remember the command to run batch code completion tests. Add a lit substitution for it.
25 lines
526 B
Swift
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#];
|