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

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