Fix KCallable#name intrinsic for bound references

Do not skip generation of the left-hand side because it may produce side
effects

 #KT-12995 Fixed
This commit is contained in:
Alexander Udalov
2016-07-14 18:28:46 +03:00
parent 0ea885ce58
commit 91e486d020
4 changed files with 34 additions and 5 deletions
@@ -6,5 +6,8 @@ class A {
val a = A::a.name
val b = A::b.name
val c = ::A.name
val d = this::a.name
val e = A()::b.name
}
}