From 2a1d76213f65e42cfa09b122b0c77b7e94ad28af Mon Sep 17 00:00:00 2001 From: David Mak Date: Fri, 9 Aug 2024 15:44:50 +0800 Subject: [PATCH] WIP7 - BUG --- nac3artiq/src/codegen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nac3artiq/src/codegen.rs b/nac3artiq/src/codegen.rs index dbde7ec3..5aef9c80 100644 --- a/nac3artiq/src/codegen.rs +++ b/nac3artiq/src/codegen.rs @@ -1141,7 +1141,7 @@ pub fn gen_rtio_log<'ctx>( generator: &mut dyn CodeGenerator, ) -> Result<(), String> { assert!(obj.is_none()); - assert_eq!(args.len(), 1); + assert_eq!(args.len(), 2); let channel_ty = fun.0.args[0].ty; assert!(ctx.unifier.unioned(channel_ty, ctx.primitives.str));