1796d40118
Use the same style as for dsl for lookup items that belong to dsl
43 lines
292 B
Kotlin
Vendored
43 lines
292 B
Kotlin
Vendored
package bar
|
|
|
|
@DslMarker
|
|
annotation class Dsl
|
|
|
|
|
|
@Dsl
|
|
class R
|
|
|
|
fun r(body: R.() -> Unit) {
|
|
|
|
}
|
|
|
|
fun foo1(i: Int) {
|
|
|
|
}
|
|
|
|
fun foo3() {
|
|
|
|
}
|
|
|
|
@Dsl
|
|
fun R.foo2() {}
|
|
|
|
@Dsl
|
|
fun R.foo4() {
|
|
|
|
}
|
|
|
|
@Dsl
|
|
fun R.fooloooooong() {
|
|
|
|
}
|
|
|
|
val R.fooval
|
|
get() = Unit
|
|
|
|
@Dsl
|
|
fun R.SomethingSomethingFooSomething() {
|
|
|
|
}
|
|
|