WIP7 - BUG

This commit is contained in:
David Mak 2024-08-09 15:44:50 +08:00
parent fffa0bac27
commit 2a1d76213f
1 changed files with 1 additions and 1 deletions

View File

@ -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));