mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When using completion options that will allow the lone "." completion, provide that result when in contexts that expect an enum type. Note: this is a crappy approximationg for whether the type can have "implicit member expression" syntax, since uninhabited enums should not support it, and many non-enum types should. However, it is currently expensive to compute the accurate answer and this approximation is good enough for some clients. rdar://problem/31260505
18 KiB
18 KiB