KT-5045: intention to convert between two comparisons and range check and vice versa

This commit is contained in:
shiraji
2016-12-07 06:33:09 +09:00
committed by Mikhail Glukhikh
parent 1040c97196
commit 6d6a16f399
70 changed files with 627 additions and 0 deletions
@@ -0,0 +1,5 @@
fun foo(bar: Int) {
for (bar in 1..10) {
1 <= bar && bar <= 10
}
}