Skip to content

Conversation

@nate-chandler
Copy link
Contributor

rdar://162922634

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

1 similar comment
@nate-chandler
Copy link
Contributor Author

@swift-ci please test macos platform

@nate-chandler nate-chandler marked this pull request as ready for review October 24, 2025 22:53
Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

->getCanonicalType();
Tmp = Builder.createAllocStack(Loc,
SILType::getPrimitiveObjectType(OptionalTy));
Tmp = Builder.createAllocStack(Loc, F->getLoweredType(OptionalTy));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I bet this code was written before Swift 3.1, in which case the getLoweredType() call was a no-op (optional payloads used to be unlowered).

@nate-chandler nate-chandler merged commit b477708 into swiftlang:main Oct 25, 2025
4 of 5 checks passed
@nate-chandler nate-chandler deleted the rdar162922634 branch October 25, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants