mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update SourceKit for getInterfaceType() changes
This commit is contained in:
@@ -333,8 +333,6 @@ deriveBodyCodingKey_init_stringValue(AbstractFunctionDecl *initDecl, void *) {
|
||||
static bool canSynthesizeCodingKey(DerivedConformance &derived) {
|
||||
auto enumDecl = cast<EnumDecl>(derived.Nominal);
|
||||
// Validate the enum and its raw type.
|
||||
// FIXME(InterfaceTypeRequest): Remove this.
|
||||
(void)enumDecl->getInterfaceType();
|
||||
|
||||
// If the enum has a raw type (optional), it must be String or Int.
|
||||
Type rawType = enumDecl->getRawType();
|
||||
|
||||
Reference in New Issue
Block a user