Reduce highlighting range for UNCHECKED_CAST
#KT-18985 Fixed
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user