Skip to content

Commit d885078

Browse files
committed
Avoid enabling loaded module verification after WMO until playgrounds is fixed.
playground_lvalues.swift: use of unresolved identifier '$builtin_log_with_id' Additional verification could expose this problem elsewhere. It will be enable on master later, but not as part of this PR.
1 parent deebe8b commit d885078

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Sema/TypeChecker.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,16 @@ void swift::performWholeModuleTypeChecking(SourceFile &SF) {
707707
// been type checked. This avoids caching imported declarations when a valid
708708
// type checker is not present. The same declaration may need to be fully
709709
// imported by subsequent files.
710+
//
711+
// FIXME: some playgrounds tests (playground_lvalues.swift) fail with
712+
// verification enabled.
713+
#if 0
710714
if (SF.Kind != SourceFileKind::REPL &&
711715
SF.Kind != SourceFileKind::SIL &&
712716
!Ctx.LangOpts.DebuggerSupport) {
713717
Ctx.verifyAllLoadedModules();
714718
}
719+
#endif
715720
}
716721

717722
bool swift::performTypeLocChecking(ASTContext &Ctx, TypeLoc &T,

0 commit comments

Comments
 (0)