"Convert to run / with": don't suggest on java static method call

#KT-25739 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-07-30 05:59:52 +03:00
committed by Mikhail Glukhikh
parent 0a5aa2b60c
commit 28aa0763a9
14 changed files with 84 additions and 2 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
fun test(c: JavaClass) {
c.run {
bar1()
bar2()
}
}