Magic methods
Don’t get special treatment.
class Cat
╰╴No statement matched
{
pub fun __sleep() -> Array[String]
{
// logic
}
}
thp
val option = Expected an expression here, found a DatatypeSome("GAAA")
╰╴Invalid variable declaration
val Some(value) = option
val colors = Array("red", "green", "blue")
val Array()
thp