Tuples
Uses #()
just to avoid confusion with function calls and grouping (()
).
Definition
val person = Expected an expression here, found a Operator#("John", "Doe", 32)
╰╴Invalid variable declaration
val #(name, surname, age) = person
thp
Signature
#(String, String, Int)
╰╴No statement matched
thp