Dsl completion: assign high priority for dsl elements that are members
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package bar
|
||||
|
||||
@DslMarker
|
||||
annotation class Dsl
|
||||
|
||||
|
||||
@Dsl
|
||||
class R {
|
||||
fun foo1(i: Int) {
|
||||
|
||||
}
|
||||
|
||||
@Dsl
|
||||
fun foo2(i : Int) {
|
||||
|
||||
}
|
||||
|
||||
val foo5: Int = 6
|
||||
@Dsl
|
||||
val foo6: Int = 7
|
||||
|
||||
|
||||
}
|
||||
|
||||
fun r(body: R.() -> Unit) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Dsl
|
||||
fun R.foo4() {
|
||||
|
||||
}
|
||||
|
||||
@Dsl
|
||||
fun R.foo3() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user