"Remove redundant let": fix destructuring declaration false positive

#KT-26042 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-08-14 07:29:23 +03:00
committed by Mikhail Glukhikh
parent 7e8521d9dc
commit 2d2f1125a9
9 changed files with 97 additions and 10 deletions
@@ -0,0 +1,7 @@
// WITH_RUNTIME
fun test() {
foo()
}
fun foo() = 0