scala.annotation.unchecked.uncheckedCaptures.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala3-library_sjs1_3 Show documentation
Show all versions of scala3-library_sjs1_3 Show documentation
scala3-library-bootstrappedJS
package scala.annotation
package unchecked
/** An annotation for mutable variables that are allowed to capture
* the root capability `cap`. Allowing this is not capture safe since
* it can cause leakage of capabilities from local scopes by assigning
* values retaining such capabilties to the annotated variable in
* an outer scope.
*/
class uncheckedCaptures extends StaticAnnotation
© 2015 - 2024 Weber Informatics LLC | Privacy Policy