Codegen changes arguments when a function is called through fast import

This bug is quite weird and I don’t fully understand exactly whats happening but from my understanding after update version 678 where codegen fast import was updated functions like string.format and even print return complete gibberish. Recently the SHA2-384 algorithm started failing every test and after localizing string.format eg local Format = string.format all tests pass


Now another issue thats come up at the same time is functions failing to compile to native when there is too many arguments.


As seen here, print also is returning complete gibberish

Reproduction Code:
SHA2-384:

SHA2-512:

And as for the tests used that caught the issue you can find them here: rbx-cryptography/tests at main · daily3014/rbx-cryptography · GitHub

Expected behavior

I expect to be able to use functions like string.format without needing to make them local for them to function properly.

1 Like

Thank you for the report.

We were able to reproduce the issue and will investigate the cause.

2 Likes

Thanks for the quick reply, let me know if you need anything else!

2 Likes

The change causing the issue has been disabled.

Sorry for the inconvenience caused by it.

2 Likes

Awesome everything is working! Thanks

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.