-
Notifications
You must be signed in to change notification settings - Fork 28
SIP-XX - Adding Flexible Types as Internal Type to Scala 3 Spec #115
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
base: main
Are you sure you want to change the base?
Conversation
didnt this already ship in Scala 3.5? |
The implementation has been shipped. The core team is asking for a SIP to finalize the tag in TASTy. See the discussion at: scala/scala3#23682 |
|
||
The erased type of `T?` is the erased type of the underlying type `T`. | ||
Erasure is extended with: `|T?| = |T|` (i.e., identical to the erasure of its underlying type). |
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.
What happens if T
is Int
, or any other really-non-nullable primitive type?
No description provided.