Closed SamiKalliomaki closed 1 year ago
This works (replacing argument name asd
with arg
):
test_3 {arg: i8} => asm { bar arg }
Hmm, I was going to say you should just use test_3 {asd: i8} => asm { bar {asd} }
(with braces) as a workaround for now, but that doesn't work either (because it's an i8
argument?). I'll have to investigate further.
This should be working on v0.13.0 using braces {}
as I've described in the previous comment!
I was trying to do argument forwarding where some of the middle layers are generic.
I also tried
test_3 {asd: i8} => asm { bar {asd} }
but that is the same result. I would expecttest_2
andtest_3
to behave identically.I get error:
It seems somehow related to the variable names - if I use the same variable name throughout, everything works.