You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
arturaz
changed the title
Scala 3.6.3: pattern matchin abstract types is broken
Scala 3.6.3: pattern matching abstract types is broken in presence of ClassTag
Feb 6, 2025
ClassTag is unsound for pattern matching. It's supposed to warn was soon as you attempt to use it to do that kind of match.
Use TypeTest/Typeable instead on Scala 3.
https://scastie.scala-lang.org/KqbPepV7ReGR8Sz6VplTvQ
Discussion in Scala discord: https://discord.com/channels/632150470000902164/632150470000902166/1337140606493003869
The text was updated successfully, but these errors were encountered: