Added test checking names highlighting.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
var <info textAttributesKey="KOTLIN_NAMESPACE_PROPERTY"><info textAttributesKey="KOTLIN_PROPERTY_WITH_BACKING_FIELD"><info textAttributesKey="KOTLIN_MUTABLE_VARIABLE">global</info></info></info> : () -> Unit = {}
|
||||
|
||||
val Int.<info textAttributesKey="KOTLIN_EXTENSION_PROPERTY">ext</info> : () -> Unit
|
||||
<info textAttributesKey="KOTLIN_KEYWORD">get</info>() {
|
||||
return {}
|
||||
}
|
||||
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</info>(<info textAttributesKey="KOTLIN_PARAMETER">a</info> : () -> Unit) {
|
||||
<info textAttributesKey="KOTLIN_PARAMETER">a</info>()
|
||||
<info textAttributesKey="KOTLIN_NAMESPACE_PROPERTY"><info textAttributesKey="KOTLIN_MUTABLE_VARIABLE">global</info></info>()
|
||||
// TODO uncomment next line and replace "[" with "<" when KT-1728 is fixed
|
||||
// 1.[info textAttributesKey="KOTLIN_EXTENSION_PROPERTY">ext</info>()
|
||||
}
|
||||
Reference in New Issue
Block a user