Optional-chained key path into nested optional returns wrong value #76510
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Where an optional-chained key path to a nested optional should return
nil
, it somehow returns.some(nil)
instead.Reproduction
Expected behavior
I expect the key path access to return the correct value.
Environment
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: