[JS IR BE] take into account receiver's type when generate name for callables (including properties)

Also, add special markers for receiver type and generic types to avoid accidental clashes.
This commit is contained in:
Zalim Bashorov
2018-08-17 20:31:06 +03:00
parent b9d6580b44
commit 0f6a77e700
4 changed files with 40 additions and 2 deletions
@@ -0,0 +1,13 @@
// EXPECTED_REACHABLE_NODES: 1196
object Foo {
val value = "O"
}
class Bar(val anotherValue: String)
val Foo.prop: String
get() = value
val Bar.prop: String
get() = anotherValue
fun box() = Foo.prop + Bar("K").prop