KT-13111: lambda --> reference supports also object members

This commit is contained in:
Mikhail Glukhikh
2017-03-14 18:34:40 +03:00
parent 631f58f27f
commit cab80812ef
3 changed files with 8 additions and 12 deletions
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
// IS_APPLICABLE: true
object Object {
fun foo() = 42
@@ -0,0 +1,7 @@
// IS_APPLICABLE: true
object Object {
fun foo() = 42
}
val x = Object::foo