I started to use kotlin for frontend game development. After a while I tried to run my game in android, but it didn't work. It refused to get it installed on the device. The error I got was a bit strange. After investigating a bit more, I found that the DEX verifier rejected my code because I was using method names with spaces.
Something like this:
fun `a long name with spaces and maybe even symbols`()
It was great because it allowed me to create method names that could display to the user as possible actions to do withoyt any extra annotation.
Since I didn’t get any notice or warning and all this worked fine on desktop. I wanted to discuss this behaviour.
It seems to not to work on Android. backtick could be limited to operator names, or be marshaled or at least produce some kind of notice or warning about this. What do you think about this? Have anyone had this problem too?