Fix to_camel_case
Hello there, thanks for your interest and PR.
Could you provide some test case with it that shows the evolution, as well as providing informations ?
Also, could you target the branch master ? zig-master only tries to be available for the latest-ish versions of zig, but the development branch is master.
Thank you!
The issue I faced was that compilation failed when trying to do a json_decode since it could not assign to a const u8.
I will add some test cases to show.
Also, could you target the branch
master? zig-master only tries to be available for the latest-ish versions of zig, but the development branch ismaster.
I'm working with zig-master so I am not sure if this is also an issue on master.
I'm pretty sure the bug is on master considering zig-master only has changes related to compatibility with the latest zig. I'm very sorry, i haven't properly set-up everything for contributors, and i'd really like to thank you for your contribution.
As soon as you have some test cases, if you're not motivated i'll manage to port it to master myself.
Thanks again for your time.
I have added some tests.
However, I can't replicate this issue with the tests. Even if I revert my changes to to_camel_case the tests still pass
But in the project, I'm working on, the code refuses to compile with these errors if I revert my changes. Perhaps you will be to figure it out 🤷🏾
Hello @stephenafamo , i'm closing this as this is kind of an old pr that might not be as relevant as before. The code changed a lot since. No ill will at from me, thank you for your contributions.