-
Notifications
You must be signed in to change notification settings - Fork 42
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
Null should be subtype of non-value classes #501
Comments
Do you really have a practical usecase for this? I've intentionally made our rules simpler than they are in the compiler in order to save a couple pennies of the performance. If you really need this, new special cases should be introduced around this place: https://github.com/zio/izumi-reflect/blob/develop/izumi-reflect/izumi-reflect/src/main/scala/izumi/reflect/macrortti/LightTypeTagInheritance.scala#L74 |
I don't have a direct usecase, I was actually testing my own Tag encoding against izumi and hit this. I suspect it would be only useful in unions, if that enables you any optimization: |
May I have a look please? I would be happy to add it into our list of relevant projects. |
I haven't worked on it in some time, but the idea builds on the existing This has many benefits on the JVM, but does not lead to a simple implementation. There are some core bugs I need to solve. |
Interesting. Is it a scala3-only project? |
The text was updated successfully, but these errors were encountered: