-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Transcompiling error to iOS #2922
Comments
String[] result = new String[] {"", ""}; |
@ramsestom Thank you for the suggestion, but in Java 8 (Note the nice optimization of the compiler that makes my split method a lot more efficient replacing my
|
@shannah Thank you! |
I have the suspect that the following test case demonstrates a transcompiling error from Java to the iOS native language. The following code works as expected on Android and on Simulator, but it fails with a NullPointerException on iOS because of the line
result[0] += character;
.Maybe my split code is not the best, but it should be valid: please correct me if I'm wrong.
Android screenshot:
![Screenshot_20190914-105504](https://user-images.githubusercontent.com/1997316/64905878-55147a80-d6de-11e9-8696-a222baa793d8.png)
iOS crash report log:
The text was updated successfully, but these errors were encountered: