-
Notifications
You must be signed in to change notification settings - Fork 150
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
feat: add Flix non-primitives and Java objects subtyping with Null
type
#7926
base: master
Are you sure you want to change the base?
Conversation
main/src/ca/uwaterloo/flix/language/phase/typer/TypeReduction.scala
Outdated
Show resolved
Hide resolved
main/src/ca/uwaterloo/flix/language/phase/typer/TypeReduction.scala
Outdated
Show resolved
Hide resolved
What's the status on this? |
I am waiting for @mlutze's review. |
Please add those tests then. Thanks! |
Be sure to hit the "ready for review" button when it's ready. Otherwise I think you're still working on it :) |
@chanattan Add tests and then we can go. |
@@ -178,6 +178,7 @@ object BackendType { | |||
case MonoType.String => BackendObjType.String.toTpe | |||
case MonoType.Regex => BackendObjType.Regex.toTpe | |||
case MonoType.Region => BackendObjType.Region.toTpe | |||
case MonoType.Null => BackendObjType.Native(JvmName.ofClass(classOf[Object])).toTpe // to check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JonathanStarup can you verify the JVM stuff?
Takes back work from #7919.