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