Fix exception in imports folding when there're two imports lists (KT-29455)

Probably caused by modifications of the recovery for import lists
https://github.com/JetBrains/kotlin/commit/65e6e21d0f3017417ecb786a63d5209c546dd744

 #KT-29455 Fixed
This commit is contained in:
Nikolay Krasko
2019-01-23 18:02:57 +03:00
parent 92a50b2880
commit ed5051a5e3
3 changed files with 27 additions and 10 deletions
@@ -0,0 +1,8 @@
// An empty import list in PSI
inline fun foo() {}
// Another import list in PSI
import a.foo
import a.inlineOnly
fun box(): String {}