Skip to content

Commit 441deb2

Browse files
committed
Fix built when the new Swift parser is not available
1 parent 91ee109 commit 441deb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Sema/TypeCheckMacros.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ void swift::expandAccessors(
770770
(size_t)evaluatedSourceLength);
771771
break;
772772
#else
773-
med->diagnose(diag::macro_unsupported);
774-
return false;
773+
storage->diagnose(diag::macro_unsupported);
774+
return;
775775
#endif
776776
}
777777
}

0 commit comments

Comments
 (0)