[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:
+13
@@ -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
|
||||
Reference in New Issue
Block a user