Parameter <-> Receiver Conversion: Support header/impl declarations
#KT-18907 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
header class Foo {
|
||||
fun String.foo(n: Int)
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
"1".foo(2)
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
header class Foo {
|
||||
fun foo(s: String, n: Int)
|
||||
}
|
||||
|
||||
fun Foo.test() {
|
||||
foo("1", 2)
|
||||
}
|
||||
Reference in New Issue
Block a user