Skip to content

Conversation

LucianoPAlmeida
Copy link
Contributor

Even in placeholder context, if the hole is on a locator that is anchored in a nil literal expression, let's record a specify contextual type for nil fix.

Resolves #63130

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Thank you!

@xedin
Copy link
Contributor

xedin commented Jan 23, 2023

@swift-ci please test Windows platform

@LucianoPAlmeida LucianoPAlmeida merged commit 62bc0ea into swiftlang:main Jan 24, 2023
@LucianoPAlmeida LucianoPAlmeida deleted the nil-placeholders branch January 24, 2023 04:12
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.

Bad diagnostic for nil literal with contextual type of _
2 participants