blob: 6f2eff9d28aa9e3f4acca81968b59d5503b68dda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package foo
/**
* Function with receiver
*/
fun String.fn() {
}
/**
* Function with receiver
*/
fun String.fn(x: Int) {
}
/**
* Property with receiver.
*/
val String.foobar: Int
get() = size() * 2
|