diff --git a/hblang/src/codegen.rs b/hblang/src/codegen.rs index 3cfcff55..5db0a6d3 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 50f07108..760c5337 100644 Binary files a/hblang/test.bin and b/hblang/test.bin differ