-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
area:experimental:modularityIssues related to the modularity extension.Issues related to the modularity extension.itype:enhancement
Milestone
Description
Example
Under modularity
, it should be possible to have a shorter way for writing precise types of class applications (for classes with tracked
parameters)
For example, it should be possible to write the following code:
import scala.language.experimental.modularity
class Box(tracked val v: Any)
val c: C(42) /* ≡ C { val v: 42 } */ = C(42)
mbovelbracevac
Metadata
Metadata
Assignees
Labels
area:experimental:modularityIssues related to the modularity extension.Issues related to the modularity extension.itype:enhancement