Skip to content

Conversation

hamishknight
Copy link
Contributor

Even if the solver fails we can still do an unqualified lookup without a contextual type.

Even if the solver fails we can still do an unqualified lookup without
a contextual type.
With the unqualified fallback we start to hit this assertion for
`return nil` in failable intializers. We ought to be able to just
skip over literal buckets though.
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

@hamishknight hamishknight merged commit 44ba366 into swiftlang:main Aug 28, 2025
5 of 6 checks passed
@hamishknight hamishknight deleted the unqualified-fallback branch August 28, 2025 19:39
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