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
+1 -1
View File
@@ -1,7 +1,7 @@
// Works already in M11
fun test(c : Class<*>) {
val sc = <!UNCHECKED_CAST!>c as Class<String><!>
val sc = c <!UNCHECKED_CAST!>as Class<String><!>
// No ambiguous overload
c.getAnnotations();
sc.getAnnotations();