Files
swift-mirror/test/IDE/Inputs/EnumFromOtherFile.swift
Ben Langmuir dbf848e9cf [CodeCompletion] Protect against a couple of null Types
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
2016-06-29 10:29:09 -07:00

6 lines
67 B
Swift

enum EnumFromOtherFile {
case a(Int)
case b(String)
case c
}