use
scala.caps.use
final class use extends StaticAnnotation
An annotation on parameters x
stating that the method's body makes use of the reach capability x*
. Consequently, when calling the method we need to charge the deep capture set of the actual argiment to the environment.
Note: This should go into annotations. For now it is here, so that we can experiment with it quickly between minor releases
Attributes
- Source
- caps.scala
- Graph
-
- Supertypes
In this article