Skip to content

Conversation

@asl
Copy link
Contributor

@asl asl commented Jun 13, 2024

Reapply #71721 with test fix making it less fragile

The patch fixes the issue #55882 and enables the nil coalescing operator (aka ??) for Optional type.

asavonic and others added 3 commits June 12, 2024 19:23
The patch fixes the issue swiftlang#55882 and enables the nil coalescing operator
(aka `??`) for Optional type.
empty JVPs / VJPs has the same linkage as the original function
sans external flag and also inherit serialization flag. This works
for all cases but not for hidden_external ones. Drop serializable
flag for such case
@asl asl requested review from MaxDesiatov and rxwei June 13, 2024 04:32
@asl
Copy link
Contributor Author

asl commented Jun 13, 2024

preset=buildbot,tools=RA,stdlib=DA
@swift-ci test with preset macOS

@asl
Copy link
Contributor Author

asl commented Jun 13, 2024

@swift-ci smoke test

@asl asl added the AutoDiff label Jun 13, 2024
@asl asl merged commit 0f4dacd into swiftlang:main Jun 13, 2024
@asl asl deleted the optional-nil-coalescing branch June 13, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants