https://kotlinlang.org logo
a

aaverin

08/22/2016, 6:15 PM
Hmmm
Copy code
private val primary: Int
    init {
        val color1 = 0xFFFFFFFF
        primary = 0xFFFFFFFF
    }
color1
looks fine, but for
primary
I get an error that
The integer literal does not conform to the expected type Int
Should I just stop working and go to sleep?