Magic methods

Don’t get special treatment.



class Cat
╰╴No statement matched
{ pub fun __sleep() -> Array[String] { // logic } }
thp

val option = Some("GAAA")
╰╴No statement matched
val Some(value) = option val colors = Array("red", "green", "blue") val Array()
thp