Changeset - 48df7d1bc380
[Not reviewed]
v1.2.0
0 1 0
MH - 4 years ago 2021-12-16 11:38:57
contact@maxhenger.nl
Remove leftover debug print
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/protocol/parser/pass_typing.rs
Show inline comments
 
@@ -1444,7 +1444,6 @@ impl PassTyping {
 
                let expr_type = &mut infer_expr.expr_type;
 
                if !expr_type.is_done && expr_type.parts.len() == 1 && expr_type.parts[0] == InferenceTypePart::IntegerLike {
 
                    // Force integer type to s32
 
                    println!("DEBUG: Autoinferring (idx {}) {}", infer_expr.expr_id.index, String::from_utf8_lossy(ctx.module().source.section_at_span(ctx.heap[infer_expr.expr_id].full_span())));
 
                    expr_type.parts[0] = InferenceTypePart::SInt32;
 
                    expr_type.is_done = true;
 

	
0 comments (0 inline, 0 general)