[Bug] CallSub and Hard Float Values

NFOBoy

Active Member
Licensed User
Longtime User
Erel,

did find something interesting. When trying to pass a non-variable value via CallSub, get a
B4X:
java.lang.RuntimeException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float

Yet, the same thing is ok when calling a code module, or within the same module.

I don't think this was intentional? (worked fine under 2.52)

Ross
 

Attachments

  • FloatTest.zip
    6.7 KB · Views: 220
Cookies are required to use this site. You must accept them to continue using the site. Learn more…