aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/func/wrong_params.sy
blob: e49e89bec7a08c702dbaab083a240bbe7a724b37 (plain) (blame)
1
2
3
4
5
6
7
start :: fn {

    f : fn -> int = fn a: int -> int {}
    f
}

// errors: [ErrorKind::TypeMismatch(_, _), ErrorKind::TypeMismatch(Type::Void, Type::Int)]