Unused symbol: never use VALUE_ARGUMENT scope for members

So #KT-10546 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-09-08 17:36:16 +03:00
committed by Mikhail Glukhikh
parent 5c4e034171
commit 7e3d3bde74
3 changed files with 32 additions and 1 deletions
@@ -0,0 +1,9 @@
// PROBLEM: none
// WITH_RUNTIME
fun foo() {
val y = listOf(object {
val <caret>value = 0
})[0]
y.value
}