aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/auto/invalid_assign.sy
blob: a8b18f0c318fce1812695b1dde62d06bd2ec9a52 (plain) (blame)
1
2
3
4
5
6
7
start :: fn {
a := 1
a = 0.1
a
}

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