File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
validation-test/ParseableInterface Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1771,7 +1771,6 @@ SILValue SILGenFunction::emitZipperedOSVersionRangeCheck(
1771
1771
// macCatalyst process it will use the iOS version.
1772
1772
llvm::Triple VariantTriple = *getASTContext ().LangOpts .TargetVariant ;
1773
1773
llvm::Triple TargetTriple = getASTContext ().LangOpts .Target ;
1774
- assert (triplesAreValidForZippering (TargetTriple, VariantTriple));
1775
1774
1776
1775
// From perspective of the driver and most of the frontend,
1777
1776
// -target and -target-variant are symmetric. That is, the user
Original file line number Diff line number Diff line change @@ -1323,6 +1323,7 @@ bool swift::extractCompilerFlagsFromInterface(
1323
1323
// we have loaded a Swift interface from a different-but-compatible
1324
1324
// architecture slice. Use the compatible subarchitecture.
1325
1325
for (unsigned I = 1 ; I < SubArgs.size (); ++I) {
1326
+ // FIXME: Also fix up -target-variant (rdar://135322077).
1326
1327
if (strcmp (SubArgs[I - 1 ], " -target" ) != 0 ) {
1327
1328
continue ;
1328
1329
}
Original file line number Diff line number Diff line change
1
+ // RUN: %target-swift-frontend -typecheck %s
2
+
3
+ // REQUIRES: OS=macosx
4
+
5
+ import System
You can’t perform that action at this time.
0 commit comments