Want bin expressions typed soon

This commit is contained in:
greg 2018-06-03 02:49:54 -07:00
parent 0b0f6b6b50
commit 5d84153c9e
1 changed files with 4 additions and 0 deletions

View File

@ -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"))