Want bin expressions typed soon
This commit is contained in:
parent
0b0f6b6b50
commit
5d84153c9e
@ -130,6 +130,10 @@ impl TypeEnv {
|
||||
Ok(match expr {
|
||||
NatLiteral(_) => Type::Const(Nat),
|
||||
StringLiteral(_) => Type::Const(StringT),
|
||||
BinExp(op, lhs, rhs) => {
|
||||
|
||||
return Err(format!("NOTDONE"))
|
||||
},
|
||||
Call { f, arguments } => {
|
||||
|
||||
return Err(format!("NOTDONE"))
|
||||
|
Loading…
Reference in New Issue
Block a user