EA-39175 Completion fails if MultiDeclaration is present on top level in file

This commit is contained in:
Nikolay Krasko
2012-09-13 21:02:09 +04:00
parent a95ba27b7d
commit 7ad0fd56f3
4 changed files with 20 additions and 3 deletions
@@ -0,0 +1,12 @@
data class LocalData(val first : Int, val second : Int)
val (localFirst, localSecond) = LocalData(11, 12)
fun test() {
local<caret>
}
// Test that this test won't fail with exception
// Regression for EA-39175
// ABSENT: localFirst, localSecond