Highlight callees resolved to kotlin.suspend as a keywords

#KT-22562 In Progress
This commit is contained in:
Denis Zharkov
2018-01-25 14:35:51 +03:00
parent 99c7d8d4d5
commit 72222c718a
4 changed files with 12 additions and 15 deletions
+7
View File
@@ -1,3 +1,4 @@
// WITH_RUNTIME
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">global</info>() {
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">inner</info>() {
@@ -20,3 +21,9 @@ fun <info textAttributesKey="KOTLIN_CLASS">Int</info>.<info textAttributesKey="K
5 <info textAttributesKey="KOTLIN_EXTENSION_FUNCTION_CALL">fif</info> 6
}
}
fun <info descr="null" textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</info>() {
<warning descr="[EXPERIMENTAL_FEATURE_WARNING] The feature \"coroutines\" is experimental (see: https://kotlinlang.org/docs/diagnostics/experimental-coroutines)" textAttributesKey="WARNING_ATTRIBUTES"><info descr="null" textAttributesKey="KOTLIN_KEYWORD">suspend</info></warning> {
}
}