Test, dsl highlighter: test custom highlighting applied to calls

This commit is contained in:
Pavel V. Talanov
2018-02-07 18:11:48 +01:00
parent d554a4234d
commit 519ea12bb2
5 changed files with 129 additions and 1 deletions
+34
View File
@@ -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
}