Starting on function application typechecking

This commit is contained in:
greg 2018-02-26 21:00:36 -08:00
parent 3e7c7a50b4
commit daa0062108

View File

@ -124,12 +124,11 @@ impl TypeContext {
None => Err(format!("No binding found for variable: {}", name)), None => Err(format!("No binding found for variable: {}", name)),
} }
}, },
&Call { ref f, ref arguments } => {
Err(format!("Function type not yet implemented"))
},
/* /*
TupleLiteral(Vec<Expression>), TupleLiteral(Vec<Expression>),
Call {
f: Box<Expression>,
arguments: Vec<Expression>,
},
Index { Index {
indexee: Box<Expression>, indexee: Box<Expression>,
indexers: Vec<Expression>, indexers: Vec<Expression>,