Skip to content

Commit 7852c8e

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 3282fb7 commit 7852c8e

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
@@ -1303,7 +1303,6 @@ evaluateAttachedMacro(MacroDecl *macro, Decl *attachedTo, CustomAttr *attr,
13031303
Optional<unsigned> swift::expandAccessors(
13041304
AbstractStorageDecl *storage, CustomAttr *attr, MacroDecl *macro
13051305
) {
1306-
(void)storage->getInterfaceType();
13071306
// Evaluate the macro.
13081307
auto macroSourceFile = evaluateAttachedMacro(macro, storage, attr,
13091308
/*passParentContext*/false,

0 commit comments

Comments
 (0)