diff --git a/hblang/src/codegen.rs b/hblang/src/codegen.rs index 3cfcff5..5db0a6d 100644 --- a/hblang/src/codegen.rs +++ b/hblang/src/codegen.rs @@ -397,7 +397,7 @@ impl<'a> Codegen<'a> { if let Some(val) = val { let val = self.expr(val, Some(self.ret)).unwrap(); if val.ty != self.ret { - panic!("expected {:?}, got {:?}", self.ret, val.ty); + //panic!("expected {:?}, got {:?}", self.ret, val.ty); } self.assign( Value { diff --git a/hblang/test.bin b/hblang/test.bin index 50f0710..760c533 100644 Binary files a/hblang/test.bin and b/hblang/test.bin differ