Test, dsl highlighter: test custom highlighting applied to calls
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
package p
|
||||
|
||||
@DslMarker
|
||||
annotation class A
|
||||
|
||||
@DslMarker
|
||||
annotation class B
|
||||
|
||||
@A
|
||||
fun f() {
|
||||
|
||||
}
|
||||
|
||||
@A
|
||||
fun ff() {
|
||||
|
||||
}
|
||||
|
||||
@B
|
||||
fun g() {
|
||||
|
||||
}
|
||||
|
||||
fun test() {
|
||||
f() // 4
|
||||
|
||||
g() // 1
|
||||
|
||||
f() // 4
|
||||
|
||||
g() // 1
|
||||
|
||||
ff() // 4
|
||||
}
|
||||
Reference in New Issue
Block a user