aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/wrong_params.sy
blob: 6b56e9093fe8c7302e25b09a9358d7bebc77a580 (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)]