Skip to content

Commit 43355f8

Browse files
committed
Revert "[Macros] Ensure that we compute the interface type before we add accessors"
This reverts commit ef7970b. We shouldn't need this.
1 parent 893d94d commit 43355f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/Sema/TypeCheckMacros.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,6 @@ evaluateAttachedMacro(MacroDecl *macro, Decl *attachedTo, CustomAttr *attr,
13111311
Optional<unsigned> swift::expandAccessors(
13121312
AbstractStorageDecl *storage, CustomAttr *attr, MacroDecl *macro
13131313
) {
1314-
(void)storage->getInterfaceType();
13151314
// Evaluate the macro.
13161315
auto macroSourceFile = evaluateAttachedMacro(macro, storage, attr,
13171316
/*passParentContext*/false,

0 commit comments

Comments
 (0)