mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
8 lines
147 B
Swift
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
|
|
}
|
|
}
|