scala.annotation.retains.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_3 Show documentation
Show all versions of scala3-library_3 Show documentation
scala3-library-bootstrapped
package scala.annotation
/** An annotation that indicates capture of a set of references under -Ycc.
*
* T @retains(x, y, z)
*
* is the internal representation used for the capturing type
*
* {x, y, z} T
*
* The annotation can also be written explicitly if one wants to avoid the
* non-standard capturing type syntax.
*/
@experimental
class retains(xs: Any*) extends annotation.StaticAnnotation
© 2015 - 2025 Weber Informatics LLC | Privacy Policy