Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 632 Bytes

27-trait-init-encoding.md

File metadata and controls

20 lines (19 loc) · 632 Bytes
label name web github origin contributors status type active priority category home hide-from-homepage description
traitInitEncoding
Trait init encoding
sjrd
Completed
project
true
-1
scala3migration
false
true
Reconcile the trait init encoding of Scala 3 with Scala 2

Scala 3 currently has a different encoding than Scala 2 for the initialization of traits. In this project, we are working on reconciling them, by reverting to the encoding of Scala 2, with a compatible extension for trait constructor parameters. This will allow bidirectional compatibility between Scala 2 and 3 when implementing traits.