mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix two crashes related to unresolved-member completion where either the EnumDecl itself is missing, or its elements have not been type-checked. Incidentally, resolve the type of the enum elements in the case where I have observed this happening. rdar://problem/26860249
6 lines
67 B
Swift
6 lines
67 B
Swift
enum EnumFromOtherFile {
|
|
case a(Int)
|
|
case b(String)
|
|
case c
|
|
}
|