I have searched and made sure there are no existing issues for the issue I am filing
[X] I have searched the existing issues
Description
String.format on iOS does not perform a casting conversion and in case you enter a number instead of a string the app crashes inexplicably (for those trying to debug the code).
Example:
String.format(“Test %s”,2)
The logs report a segmentation fault:
[ERROR] Application received error: signal error code: 11
[ERROR] (null)
5900 Segmentation fault: 11
I have searched and made sure there are no existing issues for the issue I am filing
Description
String.format on iOS does not perform a casting conversion and in case you enter a number instead of a string the app crashes inexplicably (for those trying to debug the code). Example:
The logs report a segmentation fault:
Xcode debugger reports:
Xcode execution stack indicates:
FIXING WORKAROUND: Always cast to string function parameters and use %s in the format string:
Expected Behavior
Correct casting conversion, or at least throw an exception. Do not crashes the app
Actual behavior
Creashes the whole app
Reproducible sample
Steps to reproduce
Platform
iOS
SDK version you are using
12.4.0
Alloy version you are using
No response