We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 453f99e commit 3914b35Copy full SHA for 3914b35
lib/AST/Availability.cpp
@@ -373,7 +373,7 @@ bool AvailabilityInference::updateBeforeAvailabilityDomainForFallback(
373
auto potentiallyRemappedIntroducedVersion =
374
getRemappedIntroducedVersionForFallbackPlatform(ctx, beforeVersion);
375
if (potentiallyRemappedIntroducedVersion.has_value()) {
376
- domain = AvailabilityDomain::forPlatform(PlatformKind::visionOS);
+ domain = remappedDomain;
377
platformVer = potentiallyRemappedIntroducedVersion.value();
378
return true;
379
}
0 commit comments