With this code
I get this error, but not every time, it happens in some random cases
java.lang.IllegalArgumentException: argument 1 should have type int, got java.lang.Double
In B4A v5.2 argument is always integer in this case.
in B4A v5.5 beta #1, argument is sometimes integer, sometimes double
B4X:
CallSubDelayed2(Me, "test", -1)
Sub test(number As Int) '<- error on this line
log (number)
End Sub
I get this error, but not every time, it happens in some random cases
java.lang.IllegalArgumentException: argument 1 should have type int, got java.lang.Double
In B4A v5.2 argument is always integer in this case.
in B4A v5.5 beta #1, argument is sometimes integer, sometimes double