Join Slack
Powered by
if someone can explain this it will be great: <htt...
# random
o
oshai
07/10/2017, 9:34 PM
if someone can explain this it will be great:
https://stackoverflow.com/questions/45021985/why-does-creates-compilation-error-on-different-types-in-kotlin
n
napperley
07/12/2017, 4:43 AM
All the compared values aren't of the same type. In order to make all the values the same type the 1st value (a String) needs to be explicitly converted to an Int (same as the 2nd value).
o
oshai
07/12/2017, 5:07 AM
Sure, I am asking why this is compilation error.
10
Views
Open in Slack
Previous
Next