Skip to content

Conversation

noti0na1
Copy link
Member

No description provided.

@noti0na1 noti0na1 requested a review from olhotak August 25, 2025 13:13
@bishabosha
Copy link
Member

bishabosha commented Aug 25, 2025

didnt this already ship in Scala 3.5?

@noti0na1
Copy link
Member Author

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

@noti0na1 noti0na1 marked this pull request as ready for review September 11, 2025 12:26
@noti0na1 noti0na1 self-assigned this Sep 11, 2025
@noti0na1 noti0na1 changed the title SIP-XX - Flexible Types in TASTy format SIP-XX - Adding Flexible Types as Internal Type to Scala 3 Spec Sep 11, 2025

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).
Copy link
Member

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?

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.

4 participants