forked from M-Labs/nac3
WIP7 - BUG
This commit is contained in:
parent
fffa0bac27
commit
2a1d76213f
|
@ -1141,7 +1141,7 @@ pub fn gen_rtio_log<'ctx>(
|
||||||
generator: &mut dyn CodeGenerator,
|
generator: &mut dyn CodeGenerator,
|
||||||
) -> Result<(), String> {
|
) -> Result<(), String> {
|
||||||
assert!(obj.is_none());
|
assert!(obj.is_none());
|
||||||
assert_eq!(args.len(), 1);
|
assert_eq!(args.len(), 2);
|
||||||
|
|
||||||
let channel_ty = fun.0.args[0].ty;
|
let channel_ty = fun.0.args[0].ty;
|
||||||
assert!(ctx.unifier.unioned(channel_ty, ctx.primitives.str));
|
assert!(ctx.unifier.unioned(channel_ty, ctx.primitives.str));
|
||||||
|
|
Loading…
Reference in New Issue