swift icon indicating copy to clipboard operation
swift copied to clipboard

[CSSimplify] Fix handling of holes by OptionalObject constraint

Open xedin opened this issue 1 year ago • 2 comments

When "optional type" is a hole the simplification logic has to simplify "object type" and mark all of its unresolved components are potential holes, otherwise hole propagation won't work since sometimes there is no other contextual information for such types but "optional type".

Resolves: rdar://117871338

xedin avatar May 01 '24 17:05 xedin

@swift-ci please test

xedin avatar May 01 '24 17:05 xedin

Oh, I didn't have revert locally 🤦

xedin avatar May 01 '24 23:05 xedin