1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

remove print

This commit is contained in:
schaeff 2020-04-07 17:12:21 +02:00
parent 39d616fca9
commit 3f19bac343

View file

@ -795,7 +795,6 @@ impl<'ast> Checker<'ast> {
module_id: &ModuleId,
types: &TypeMap,
) -> Result<TypedStatement<'ast, T>, Vec<ErrorInner>> {
println!("{}", stat);
let pos = stat.pos();
@ -935,8 +934,6 @@ impl<'ast> Checker<'ast> {
// Right side has to be a function call
Expression::FunctionCall(fun_id, arguments) => {
println!("{:?}", assignees);
// check lhs assignees are defined
let (assignees, errors): (Vec<_>, Vec<_>) = assignees.into_iter().map(|a| self.check_assignee(a, module_id, types)).partition(|r| r.is_ok());