Reduce highlighting range for UNCHECKED_CAST

#KT-18985 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-07-28 16:41:21 +03:00
parent 8f8143d3ed
commit ae3497c6ce
21 changed files with 41 additions and 41 deletions
@@ -25,7 +25,7 @@ class MyProperty<R, T> {
operator fun getValue(thisRef: R, desc: KProperty<*>): T {
println("get $thisRef ${desc.name}")
return <!UNCHECKED_CAST!>null as T<!>
return null <!UNCHECKED_CAST!>as T<!>
}
operator fun setValue(thisRef: R, desc: KProperty<*>, value: T) {