LYR-PAR0009
an angle bracket of a type list is missing
A list of type arguments <…> or of type parameters is not closed by >.
Explanation
Type arguments and type parameters stand between < and >; >> closes two lists at once.
Close the list with >.
Wrong
fn first(xs: List<int): int {
return xs[0];
}
fn main(): void {
}
Right
fn first(xs: List<int>): int {
return xs[0];
}
fn main(): void {
let _ = first;
}