Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make keywords be as covariant as possible #558

Merged
merged 9 commits into from
Dec 21, 2021

Conversation

Atry
Copy link
Collaborator

@Atry Atry commented Dec 21, 2021

The Scala 3 compiler will not be able to infer the whole type tree if any leaf symbol is local, see
scala/scala3#14152

As a workaround, we should let the type tree be as covariant as possible to minimize type information loss

@Atry Atry merged commit 3b52dbd into ThoughtWorksInc:main Dec 21, 2021
@Atry Atry deleted the covariant-control-flow branch December 21, 2021 08:58
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.

1 participant