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

Remove Unliftable[Unit] #10570

Merged
merged 1 commit into from
Dec 1, 2020
Merged

Conversation

nicolasstucki
Copy link
Contributor

@nicolasstucki nicolasstucki commented Dec 1, 2020

There is no real point to unlift the value of an Expr[Unit] as it is always ().
This also aligns with not having a Liftable[Unit].

Extracted from #10516

There is no real point to unlift the value of an `Expr[Unit]` as it is always `()`.
This also aligns with not having a `Liftable[Unit]`.
@nicolasstucki nicolasstucki changed the title Improve Unliftable Remove Unliftable[Unit] Dec 1, 2020
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

@nicolasstucki nicolasstucki marked this pull request as ready for review December 1, 2020 08:25
@nicolasstucki nicolasstucki merged commit 90f44d4 into scala:master Dec 1, 2020
@nicolasstucki nicolasstucki deleted the improve-unliftable branch December 1, 2020 09:15
@nicolasstucki nicolasstucki added the release-notes Should be mentioned in the release notes label Dec 2, 2020
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Should be mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants