unsafe

scala.caps.unsafe
object unsafe

Attributes

Experimental
true
Source
package.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Members list

Type members

Classlikes

final class untrackedCaptures extends StaticAnnotation

Marks the constructor parameter as untracked. The capture set of this parameter will not be included in the capture set of the constructed object.

Marks the constructor parameter as untracked. The capture set of this parameter will not be included in the capture set of the constructed object.

Attributes

Note

This should go into annotations. For now it is here, so that we can experiment with it quickly between minor releases

Source
package.scala
Supertypes
class Annotation
class Object
trait Matchable
class Any

Value members

Concrete methods

def unsafeAssumeSeparate(op: Any): op.type

A wrapper around code for which separation checks are suppressed.

A wrapper around code for which separation checks are suppressed.

Attributes

Source
package.scala

Extensions

Extensions

extension [T](x: T)

A specific cast operation to remove a capture set. If argument is of type T^C, assume it is of type T instead. Calls to this method are treated specially by the capture checker.

A specific cast operation to remove a capture set. If argument is of type T^C, assume it is of type T instead. Calls to this method are treated specially by the capture checker.

Attributes

Source
package.scala