Convert to range check: do not transform binaries/hexadecimals to decimals

#KT-36685 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-16 13:54:03 +09:00
parent 2677fa7472
commit 7f2cf571b0
6 changed files with 43 additions and 3 deletions
@@ -0,0 +1,4 @@
fun test(c: Int) {
if (c in 0b1101100000000001..0b1101101111111111) {
}
}