dalexander
06/15/2017, 12:10 PMval b: Byte = 3
when(b) { 1 -> {} }
compile? It currently fails with the message “Incompatible types, Int and Byte” because it treats 1 as an int literal, and there’s no way to specify byte literals. Asking here before I file a ticket (it also fails for Shorts).radityagumay
06/15/2017, 5:30 PM