Files
swift-mirror/test/SourceKit/CodeComplete/pr83662.swift
Hamish Knight a3edf17b24 [SourceKit] Fix assertion failure in sortTopN
With the unqualified fallback we start to hit this assertion for
`return nil` in failable intializers. We ought to be able to just
skip over literal buckets though.
2025-08-25 11:13:40 +01:00

8 lines
147 B
Swift

// Make sure we don't crash
struct S {
init?() {
return nil
// RUN: %sourcekitd-test -req=complete.open -pos=%(line-1):12 %s -- %s
}
}