-
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
It would be great to be able to declare abstract tracked
members.
tracked
members, when overridden, will keep their exact type.
e.g. the following code should compile
import scala.language.experimental.modularity
import scala.language.future
trait F:
tracked val x: Int
object Test:
val f = new F:
val x = 1
summon[f.x.type <:< 1]
Metadata
Metadata
Assignees
Labels
area:experimental:modularityIssues related to the modularity extension.Issues related to the modularity extension.itype:enhancement