Magic methods
Don’t get special treatment.
class Cat
{
pub fun __sleep() -> Array[String]
{
// logic
}
}
thp
Syntax error: Unexpected token `Cat`, expected a new line at line 2:7
val option = Some("GAAA")
val Some(value) = option
val colors = Array("red", "green", "blue")
val Array()
thp
Syntax error: Expected an expression after the equal `=` operator at line 1:11