Skip to content

Conversation

@LucianoPAlmeida
Copy link
Contributor

For literal expressions check availability of the resulting type of the implicit literal as well in addition to the initializer checking.

Resolves #61890

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida LucianoPAlmeida force-pushed the literal-result-availability branch from 1681123 to 6d6c209 Compare November 4, 2022 13:54
@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

@LucianoPAlmeida LucianoPAlmeida force-pushed the literal-result-availability branch from 6d6c209 to 9c7934f Compare November 4, 2022 15:03
@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please smoke test

Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

Thanks!

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test MacOS platform

@LucianoPAlmeida LucianoPAlmeida merged commit 8621537 into swiftlang:main Nov 5, 2022
@LucianoPAlmeida LucianoPAlmeida deleted the literal-result-availability branch November 5, 2022 15:08
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.

Missing availability diagnostic on literal implicit init base type

3 participants