Presentation for extension property to include receiver type

This commit is contained in:
Valentin Kipyatkov
2015-11-10 14:50:48 +03:00
parent 6a52cc76d0
commit f391d194de
39 changed files with 97 additions and 179 deletions
@@ -8,5 +8,5 @@ class OtherTestInBody(some: Int, other: String): Test(some) {
override var some: Int = some
}
// REF: (testing.OtherTestInConstructor).some
// REF: (testing.OtherTestInBody).some
// REF: (in testing.OtherTestInConstructor).some
// REF: (in testing.OtherTestInBody).some
@@ -12,5 +12,5 @@ enum class <caret>E {
open fun foo(n: Int): Int = n
}
// REF: (E).A
// REF: (E).B
// REF: (in E).A
// REF: (in E).B
@@ -43,11 +43,11 @@ class NoOverride: Foo<String, Any, String>() {
override fun bar(t: Any, u: String): String = ""
}
// REF: "(in AllTypes).bar(Int,Double)"
// REF: "(in NoPrimitives).bar(String,Any)"
// REF: "(in ParameterStillGeneric).bar(Int,Z)"
// REF: "(in ReturnStillGeneric).bar(Int,Int)"
// REF: "(in ReturnType).bar(Any,String)"
// REF: "(in SomeParameters).bar(Double,Any)"
// REF: "(in ThroughProxyAllGenericsImpl).bar(Double,Int)"
// REF: "(in ThroughProxySomeGenericsImpl).bar(Double,Int)"
// REF: "(in AllTypes).bar(Int, Double)"
// REF: "(in NoPrimitives).bar(String, Any)"
// REF: "(in ParameterStillGeneric).bar(Int, Z)"
// REF: "(in ReturnStillGeneric).bar(Int, Int)"
// REF: "(in ReturnType).bar(Any, String)"
// REF: "(in SomeParameters).bar(Double, Any)"
// REF: "(in ThroughProxyAllGenericsImpl).bar(Double, Int)"
// REF: "(in ThroughProxySomeGenericsImpl).bar(Double, Int)"
@@ -13,5 +13,5 @@ class SubSubBase: SubBase() {
}
// REF: (testing.SubBase).test
// REF: (testing.SubSubBase).test
// REF: (in testing.SubBase).test
// REF: (in testing.SubSubBase).test