Apologies, I only looked at this kata again today. I didn't receive a notification of your comment as it wasn't labeled as Issue.
I'm not sure I follow though, can you expand? I'm trying to understand where the expectation of an i32 comes from.
The solution setup currently takes a u8 for the length parameter and returns u64, so I expected the tests to infer that type and I didn't get any of the above warnings for my own solution either. I'm not sure why yours is returning i32.
same with me, thanks to your comment i was able to solve this kata.
Apologies, I only looked at this kata again today. I didn't receive a notification of your comment as it wasn't labeled as
Issue
.I'm not sure I follow though, can you expand? I'm trying to understand where the expectation of an
i32
comes from.The solution setup currently takes a
u8
for thelength
parameter and returnsu64
, so I expected the tests to infer that type and I didn't get any of the above warnings for my own solution either. I'm not sure why yours is returningi32
.